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

ZendCasts.com: Painless HTML Emails with Zend_Mail

JellyandCustard.com: Regular Expressions in PHP

Joshua Thijssen's Blog: PHPShout : a shoutcast streamer in PHP

Stefan Mischook's Blog: Introduction to MySQL Video Tutorial

LineshJose.com: How To: Create A Simple CSS Compressor Using PHP


Community Events

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


framework conference php7 performance release podcast extension api application version community library symfony2 laravel example interview voicesoftheelephpant opinion series introduction

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