Code2Design.com

User login

The Layout

Programming

Graphic Design

Resources

Navigation

C2D Projects

Unsystematic Affiliates

N1 Studios ITexperts Central PhotoShop Aid Player-Art 

Change Language

Who's online

There are currently 0 users and 9 guests online.

Optimizing PHP

Now that you have built that awesome site, you may start experiencing slower responses from the server as more people visit your page. What can you do to speed up your code?

phplens.com has a great article on how to Optimize PHP. It is a must read for anyone who is planning on their site taking off. In today's world of endless possible bottle-necks, you have to be aware of what you server can handle and what you can do to cut your server load in half.

Quote:
...PHP is a fast language, and many of the likely bottlenecks causing slow speeds lie outside PHP...

...you can see that biggest speed improvements are derived not from tweaking the code, but by simple global optimizations such as ob_start(), or using radically different algorithms such as HTML caching.


Submitted by David on January 3, 2007 - 4:57pm.
printer friendly version

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <br /> <h3>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use BBCode tags in the text, URLs will be automatically converted to links
More information about formatting options



Like what you see?

Why not add more? C2D is looking for other Christian Web Masters who would like to help write articles for this site. If you have expericance in FLASH, CSS/HTML, PHP/MySQL, PhotoShop/GIMP, Blender, Javascript, or just General Design - our users would love to hear what you have to say. Contact Us

delicious   digg   reddit   magnoliacom   newsvine   furl   google   yahoo   technorati