News Feed
Sections




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

Simas Toleikis' Blog:
PHP data caching techniques
December 13, 2010 @ 08:45:10

Simas Toleikis has posted some caching techniques he's come up with to handle a few different situations including simple file-level caching and working with memcached.

Caching intermediate data is the most primitive and yet the most rewarding optimization technique where you don't need to fiddle with any complex algorithms or premature optimizations. If you are into PHP you should be aware of all the best practices and the right tools for this job to make your websites fly.

He covers a few different, though common, situations you may come across in your application where caching could be very helpful:

  • Static scope variables
  • APC shared memory functions
  • Memcached for large distributed caches
  • In-memory database tables
  • Simple file-level caches
0 comments voice your opinion now!
caching technique situation apc memcache file memory


blog comments powered by Disqus

Similar Posts

Ilia Alshanetsky's Blog: PHP 5.2.0 RC3 Released!

Harun Yayli's Blog: memcache.php stats like apc.php

PHPBuilder.com: Boost PHP Site Performance with Zend Framework Data Caching

Thomas Larsson\'s Blog: Asynchronous file upload with AJAX progress bar in PHP

DevShed: Optimize File Downloading in PHP


Community Events





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


library bugfix laravel install application wordpress release podcast interview introduction api framework series community list developer configure code language threedevsandamaybe

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