News Feed
Sections




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

Brian Swan's Blog:
Performance Tuning PHP Apps on Windows/IIS with Output Caching
June 09, 2011 @ 08:28:03

Brian Swan has a new post to his blog today showing you how to use caching for performance tuning on your Windows/IIS PHP application. He uses the IIS 7 output caching method instead of an external cacing tool or library.

The IIS output caching module allows you to configure IIS to cache dynamic pages generated by PHP. When a PHP page becomes "hot", the content of the page is cached so that is served without executing the script that generates it. [...] With the IIS Output Caching module you can cache all pages generated by PHP, vary what is cached by query string parameter value, or vary what is cached by header value.

He touches briefly on when he thinks you should use output caching for your applications since it can add extra overhead if it's not actually needed. He suggests turning it on when you have entire pages that don't change often and could benefit from just being displayed as-is. He shows how to enable the caching on IIS and includes some bits of code to show the results. There's a few other handy features he points out too like a file change notification and a configuration for a time interval caching rule.

0 comments voice your opinion now!
performance tuning cache windows iis tutorial


blog comments powered by Disqus

Similar Posts

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Fedora 7

PHPMaster.com: Extract Objects from an Access Database with PHP, Part 2

Mathias Noback: Collecting events and the event dispatching command bus

MaltBlue.com: Zend Framework - How To Implement RSS Feeds the Easy Way

Alison Lunde's Blog: Quick and Dirty PHP Caching


Community Events





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


symfony voicesoftheelephpant threedevsandamaybe language laravel configure introduction api composer series framework version unittest podcast interview conference release community opinion list

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