Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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 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