Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
3 Ways to Speed up Your Site with PHP
Jul 23, 2009 @ 15:08:10

NETTUTS.com has offered three quick tips of how you can use PHP to speed up your site (and no, its not PHP micro-optimizations this time).

These days, with broadband connections the norm, we don't need to worry as much about internet speeds or the filesize of our pages. However, that's not to say that we still shouldn't do so. If you wish to reduce the load times on your server, decrease the number of HTTP requests, and go that extra bit for your visitors, there are a few techniques that you can use. This tutorial covers a number of PHP tricks, including caching and compression.

Most of their three tricks don't even involve modifying your PHP code - here's the list:

  • Combining several CSS files into one before pushing it out to the browser (amalgamation)
  • Removing excess whitespace (sometimes substantial) from your HTML and CSS before sending
  • Caching the output of your application with PHP to keep the load down
tagged: html css cache speed tutorial

Link:


Trending Topics: