Reverse expiry check for wp_cache functions
|Reported by:||akshay_raje||Owned by:|
The basic idea is that expiry details are not stored within the cache at all. Expiry is rather a part of the 'get' call. The idea is that cached data is stored with a timestamp instead of expiry. In short, the get function (wp_cache_get) will validate is the cache has expired or not using the timestamp set by the add / set function.
This will give access (if needed) to expired cache too.