Cache Created but not Served
-
Hi
I am using the following code to customize page cache key:
function customize_cache_key($key){ return $key . "something"; } w3tc_add_action('w3tc_pgcache_cache_key', 'customized_cache_key');
The key is modified successfully as I can see in the cache (disk enhanced). However, when the next identical request arrives, new cache is created with the same key instead of serving the existing page in the cache.
This problem doesn’t appear if I don’t use the code above and default key is used.
Any ideas on how to fix it?
- The topic ‘Cache Created but not Served’ is closed to new replies.