Download the PHP package rarst/fragment-cache without Composer
On this page you can find all versions of the php package rarst/fragment-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rarst/fragment-cache
More information about rarst/fragment-cache
Files in rarst/fragment-cache
Package fragment-cache
Short Description WordPress plugin for partial and async caching of heavy front-end elements.
License GPL-2.0+
Homepage https://github.com/Rarst/fragment-cache
Informations about the package fragment-cache
Fragment Cache
Fragment Cache is a WordPress plugin for partial and async caching of heavy front-end elements. It currently supports caching navigation menus, widgets, and galleries.
Caching is built on top of transients API (with enhancements provided by TLC Transients library), provides soft expiration and transparent object cache support.
Installation
Download plugin archive from releases section.
Or install in plugin directory via Composer:
composer create-project rarst/fragment-cache --no-dev
Frequently Asked Questions
Why fragments don't recognize logged in users / current page?
Fragment Cache implements soft expiration - when fragments expire, they are regenerated asynchronously and do not take time in front end page load. The side effect is that it is impossible to preserve context precisely and in generic way.
Fragments that must be aware of users or other context information should be excluded from caching or handled by custom implementation, that properly handles that specific context.
How to disable caching?
Disable handler
Caching for the fragment type can be disabled by manipulating main plugin object:
Skip individual fragments
Caching for individual fragments can be disabled by using fc_skip_cache
hook.
License Info
Fragment Cache own code is licensed under GPLv2+ and it makes use of code from:
- Composer (MIT)
- Pimple (MIT)
- TLC Transients (GPLv2+)
All versions of fragment-cache with dependencies
markjaquith/wp-tlc-transients Version ~1.0
php Version >=5.3
pimple/pimple Version ~3.0