manifest / performance / html-fragment-cache
HTML fragment cache
HTML fragment cache is simple WP plugin for developers
★ 3stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/keybeatz/html-fragment-cache/archive/refs/heads/master.zipFrom the readme
html-fragment-cache
HTML fragment cache is simple WP plugin for developers.
This plugin provide HTML caching class with various functions and the API for easy implementation. It is using classic file cache method. This plugin may be very useful once you need to cache specific pieces of your code insted of whole page and can't use memcached or any other object caching method. Plugin offers keybased (key-data) system which can be used also for caching dynamic queries with multiple parameters.
Basic example
Example with php obgetcontents():
Revalidation examples:
Settings:
- for settings please check main plugin file and edit provided constants