image  What is QuickCache?
image  How fast is it?
image  Manual
image  License Terms
image  Download QuickCache

QuickCache (formerly jpCache)

Search this site: 
QuickCache is PHP5 compliant and tested up to and including PHP 5.2.4. It is not tested with E_STRICT, however should function properly. One package to support both PHP4 and PHP5.

QuickCache is a lightweight, full page caching system for PHP. QuickCache reduces server load by as much as 80% since pages are generated less often. It dramatically speeds up the serving of pages, by caching the ouput of pages and returning cached versions instead of newly compiling the page.

QuickCache also uses gzip content-encodig and ETag-headers, which results in approximately 80% in traffic-saving for php-pages. You can choose to store the cached output in files in a local directory or in a database.

QuickCache is released under the GNU Public License (GPL). If you are using QuickCache on your site(s), please show your appreciation by putting a link back to this site.


  • Caches full php pages for <X> seconds
  • When not modified since last visit, sends 304 response
  • When modified or first visit, sends gzipped content if possible, else uncompressed content
  • You can choose between file or MySQL based storage
  • Takes GET and POST data into account when caching

    - PHP4.1.0+ with Zlib enabled
    - And of course MySQL when using the sql-version

    Quick usage:

    • Edit quickcache.php and change the 'includedir' setting to the path of the QuickCache files
    • Edit quickcache_config.php and change the configuration settings
    • Start your file with <?php require "/path/to/quickcache.php"; ?>
    • Optional, start your file with <?php $cachetimeout=900; require "/path/to/quickcache.php"; ?>
    • Setting '900' to -1 will disable caching and will only do content encoding. This can be used for pages that are not cacheable due to user-specific content (polls, personalization etc.)
    QuickCache is compatible with all scripts previous written for 'jpcache' and only requires a change in the code calling the class.