News Feed
Sections




News Archive
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
July 23, 2009 @ 10: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
0 comments voice your opinion now!
html css cache speed tutorial


blog comments powered by Disqus

Similar Posts

Engrowe.com: How-to - Convert a RSS feed to JSON in PHP

Juan Treminio: Unit Testing Tutorial Part V: Mock Methods and Overriding Constructors

NETTUTS.com: How to Update your Twitter Status with CodeIgniter

Chris Shiflett's Blog: OSCON 2006 Redux

DZone.com: CakePHP - Web Test Cases with SimpleTest


Community Events





Don't see your event here?
Let us know!


series podcast community introduction release unittest install wordpress threedevsandamaybe interview laravel list opinion configure language code refactor developer framework testing

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework