=== Speed Up - Page Cache === Contributors: nigro.simone Donate link: http://paypal.me/snwp Tags: optimize, front-end optimization, performance, speed, web performance optimization, wordpress optimization tool Requires at least: 3.5 Tested up to: 5.2 Stable tag: 1.0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html A simple plugin to make your site run lightning fast with page caching. == Description == Speed Up - Page Cache was constructed for made caching dead simple. Simple one-click install. That's it. No config are provided. Improves the SEO and user experience of your site by increasing website performance, reducing load times. You can choose which page don't cache in several way. Adding a filter in your function.php, eg.: `function exclude_from_cache(){ // exclude page, if the uri contains page-do-not-cache return false !== strpos($_SERVER['REQUEST_URI'], 'page-do-not-cache'); } add_filter('speed-up-page-cache-cacheable', 'exclude_from_cache');` Adding the string `DONOTCACHEPAGE` into the page, (eg. in a content of the page write ``) Defining the costant `DONOTCACHEPAGE` with `true`, eg.: `if( defined('DONOTCACHEPAGE') ){ define('DONOTCACHEPAGE', true); }` The page are cached only at certain condition, when a page can't be stored into the cache, into the response is added a header `x-supc-miss`, eg.: `x-supc-miss: speed-up-page-cache-cacheable filter return true` some of those conditions are: 1. The HTTP request method is GET 2. The HTTP request is without query string parameters 3. The current user isn't authenticated 4. The current post is public The cache is totally purged each day (24 houres) by WordPress cron job. The single page are also purged on every update. You can trigger a complete cache purge with: `do_action('supc_purge_cache');` or a single post cache purge with: `// $postID is the post id do_action('supc_purge_cache_post', $postID);` == Installation == 1. Upload the complete `speed-up-page-cache` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress == Changelog == = 1.0.2 = * Add filter speed-up-page-cache-cacheable. * Add action supc_purge_cache_post. * Read me. = 1.0.1 = * Read me. = 1.0.0 = * Initial release.