Skip to content

Stores a last-modified timestamp in object cache and sends Last-Modified header based on that version.

Notifications You must be signed in to change notification settings

kasparsd/cache-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Cache Version

Contributors: kasparsd
Tags: cache, caching, performance, expiry, headers Requires at least: 3.0.1
Tested up to: 4.5.2
Stable tag: trunk
License: GPLv2 or later

Adds a version number (a timestamp) of all content that can be used in cache keys.

Description

Stores a timestamp as last-modified-timestamp in a transient (or object cache, if enabled) and updates its value every time a post, comment, term or menu is created or updated. Adds a Last-Modified header to all HTTP responses.

Installation

Install it from the official WordPress repository or use the plugin search in your WordPress dashboard.

Frequently Asked Questions

None.

Screenshots

None.

Changelog

0.3 (June 21, 2016)

  • Use a transient to ensure it works on sites with no object caching enabled.

0.1

  • Initial release.

Upgrade Notice

About

Stores a last-modified timestamp in object cache and sends Last-Modified header based on that version.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages