Title: Cache Created but not Served
Last modified: August 31, 2016

---

# Cache Created but not Served

 *  [stingerpk](https://wordpress.org/support/users/stingerpk/)
 * (@stingerpk)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/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?
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

The topic ‘Cache Created but not Served’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [stingerpk](https://wordpress.org/support/users/stingerpk/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/cache-created-but-not-served/)
 * Status: not resolved