Skip to content

fahrirusliyadi/fr-client-cache

Repository files navigation

Fr Client Cache

Build Status Code Coverage Scrutinizer Code Quality

Enable client side browser page cache by adding Last-Modified and Cache-Control headers.

Installation

  1. Upload fr-client-cache folder to the /wp-content/plugins/ directory

  2. Activate the plugin through the 'Plugins' menu in WordPress

  3. The default max cache age is 3600 seconds. Define FRCLIENTCACHE_MAX_AGE constant in wp-config.php file to override this value. Example:

    // wp-config.php
    
    define('FRCLIENTCACHE_MAX_AGE', 86400); // 1 day

Frequently Asked Questions

Uninstallation Instructions

  1. Deactivate and delete the plugin through the Plugins menu in WordPress

About

Enable client side browser page cache.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published