Fragment caching for WordPress themes and plugins
Author: | (profile at wordpress.org) |
WordPress version required: | 3.3 |
WordPress version tested: | 4.2.2 |
Plugin version: | 0.1 |
Added to WordPress repository: | 14-05-2015 |
Last updated: | 17-05-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | |
Total downloads: | 99 |
Click to start download |
Warning: This plugin on it's own don't do anything. Integrate it in your theme or plugin.
Usage:
if ( !f_cache_start('key', 180) ) {
//printing data
f_cache_end(); // IMPORTANT don't forgot this
}
Function reference:
- f_cache_start(key, TTL) - output cache content or start new cache record.
- c_start(key, TTL) - alias to f_cache_start.
- f_cache_end - store cache.
- c_end - alias to f_cache_end.
- f_cache_delete(key) - delete cached content by key.
- c_delete(key) - alias to f_cache_delete.
- f_cache_clear - delete all cached content.