Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kasparsd/cache-version
Stores a last-modified timestamp in object cache and sends Last-Modified header based on that version.
https://github.com/kasparsd/cache-version
Last synced: 11 days ago
JSON representation
Stores a last-modified timestamp in object cache and sends Last-Modified header based on that version.
- Host: GitHub
- URL: https://github.com/kasparsd/cache-version
- Owner: kasparsd
- Created: 2014-04-16T08:50:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-21T11:04:33.000Z (over 8 years ago)
- Last Synced: 2024-11-16T12:10:19.546Z (2 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wp-speed-up - Cache Version - Adds a version number (a timestamp) of all content that can be used in cache keys. (Caching Helping Plugins)
README
# 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 laterAdds 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