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 with Wincache
July 11, 2011 @ 10:04:45

Brian Swan has a new post to his blog sharing some tips you can use to get the best performance out of your Windows applications by tuning Wincache.

A few weeks ago I wrote a post that showed how to improve the performance of PHP applications on Windows by using the IIS output caching module. Using the output caching module can have significant positive impact on application performance since pages are served from cache without executing any PHP code. However, this very strength can also be a drawback depending on how your application is built. Because entire pages are cached, using output caching may not be ideal for pages that have multiple data sources.

He points to the Wincache extension as an alternative to the full-page caching with it's built-in opcode caching (you get for "free" just by installing). He mentions this and a few other features that come with it like the ability to cache to a file and to normalize file paths for more efficient seeking of files. He also focuses on partial caching with a specific example of caching user data for use through out the application. A bit of code and some screenshots are included to show the performance boost this can give.

0 comments voice your opinion now!
performance wincache windows extension file opcode


blog comments powered by Disqus

Similar Posts

IBM developerWorks Blog: What\'s the problem? (Working Directories)

Jonathan Hill: What Is Wrong With PHP's Semaphore Extension

Andreas Gohr's Blog: DokuWiki on a Stick

Iwan Luijks: E-mailing with PHP on Windows using Apache James

DZone.com: File Path Injection in PHP <= 5.3.6 File Update (CVE 2011-2202)


Community Events

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


php7 application project introduction yii2 podcast configure language framework list example laravel composer api series symfony part2 interview community opinion

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