The PHP high-performance object caching system ever.

phpFastCache is a high-performance, distributed object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

phpFastCache dropped the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful

Just try it and your website will faster like 1,000 times

Heavy Visitor Rain

Your PHP is sending 10,000 queries extractly the same to Database. Let phpFastCache reduce it to 1 query and serve your 10,000 visitors. You need A

PHP Cache Class

Supported

Redis

,

APC

,

XCache

,

MemCache

,

MemCached

,

WinCache

,

Cookie

,

Redis

,

Predis

,

SSDB

,

MongoDB

, Files

You will never have to rewrite your

PHP caching class

again when you change your servers. Faster than traditional Cache 10 times.

Dude, It's awesome! My websites are running smooth with any shared hosting, No VPS upgrade needed!

P. Tran, Alilang Fashion
Document & API

A Simple PHP Caching Class

From Apr 28 2013, phpFastCache is available in GitHub, and it also support more objects type caching.

API Functions are available below.

I don't need to upgrade to Dedicated, phpFastCache saved my little VPS

J. Nguyen, EDM Inc
  • Q. What are the requirements for using phpFastCache?
    +
  • Q. How to Install it?
    +
  • X.Simple GET-SET methods
    +
  • X. Setup & Configuration
    +
  • Q. Why use phpFastCache as Your Caching Method?
    +
Not a Normal / Traditional Cache

phpFastCache is also a unique caching method, it's not only help reduce Database & API call, but it's

PHP Caching Class Reduce CPU High Load & I/O

. Yes, it faster than traditional / normal caching method these shared everywhere on internet like 7-10 times. Using phpFastCache with Files, you can almost get the same speed like Memcached. Using phpFastCache with Memcached, Redis, SQlite ..etc, you can reduce the missing hit rates, connections number, and CPU Load. This is a unique fastest caching lib.



Reduce Database Calls

PHP Caching Class For Database

: Your website have 10,000 visitors who are online, and your dynamic page have to send 10,000 same queries to database on every page load. With phpFastCache, your page only send 1 query to DB, and use the cache to serve 9,999 other visitors.




Improve cURL & API Calls

Powerful PHP Caching Class

: You are using Bing API, Google API or cURL and your API transactions are limited? phpFastCache can save your Server CPU & API Transactions. You can use phpFastCache to do it easily.




Caching Whole Webpage

PHP Cache whole web page

: You can use phpFastCache to cache the whole webpage easy too. This is simple example, but in real code, you should split it to 2 files: cache_start.php and cache_end.php. The cache_start.php will store the beginning code until ob_start(); and the cache_end.php will start from GET HTML WEBPAGE. Then, your index.php will include cache_start.php on beginning and cache_end.php at the end of file.




Enable Multi Caching Method

Example with Files, PDO, APC, WinCache, XCache, MemCache and MemCached Caching

: phpFastCache will set up multiple caching files, maximum 50MB per file, and you can SET/Get from APC, MemCache .. etc. It's good for caching cURL Data and API call results. You can mix multiple methods with phpFastCache. For example, mix files caches with APC, or PDO and memcached.




Want more? Check our Document!

phpFastCache is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Github phpFastCache Wiki

Updates
Version 2.4
Released on Feb 01, 2014
  • New Redis Supported
  • New Cookie Supported
  • New Tempory Disabled Caching
  • New Run Method
  • Fix Improved Files Cache
  • Fix Fallback Driver
Version 2.0 & Revision 621
Released on Aug 4th, 2013
  • New New Methods
  • New New Classes & Improved Everything
Revision 618
Released on Jun 26th, 2013
  • New .htaccess Security for Cache Folder
  • New Mod-PHP / Apache2Handler will use TMP Dir as default
Version 1.3.0.1
Released on May 11th, 2013
  • New X-Cache Supported
  • Fix phpFastCache::$files_cleanup_after = 1; // hour
Version 1.3
Released on May 6th, 2013
  • New APC, MemCache, MemCached, WinCache, Files Supported
  • New Added $storage = "auto"
  • New Added exists, setMulti, getMulti, deleteMulti
  • Fix Removed Cache.0777 files
  • Fix Improve Security with $securityKey = "keyword"
  • Fix Removed PDO Required
Version 1.2
Released on April 30th, 2013
  • New cURL Supported
  • Fix resetAll() & fixes
  • New Added auto vacuum for every 48 hours
  • fix More objects supported
Version 1.1
Released on November 10th, 2011
  • New Full PHP5 compatibility
  • Fix Skip items & fixes
  • New Added In Memory Caching (Beta)
  • fix $PATH
Version 1.0
Released on January 1st, 2011
  • New Initial release for phpFastCache
Contact

If you are looking for

Simple PHP Files Cache

,

Fastest PHP Caching Class

, and

Easiest Integrating Multiple Caching Methods

, then You should pick

PHP Fast Cache


For general questions, bug reports or press inquires please fill out the form below.

Oops! Please correct the highlighted fields...

Thanks! I'll get back to you shortly.