Title: WP Super Cache: timestamp different
Last modified: August 20, 2016

---

# WP Super Cache: timestamp different

 *  Resolved [PhoenixML](https://wordpress.org/support/users/phoenixml/)
 * (@phoenixml)
 * [15 years ago](https://wordpress.org/support/topic/timestamp-different/)
 * Plugin WP Super Cache
 * The timestamp always changes. I have a huge functions.php file and I don’t know
   if it bugs things out. Files are saved in the cache folder. I don’t use mod_rewrite.
   PHP or Legacy doesn’t seem to make a difference either. The Cache Tester does
   work, which makes me wonder what is the problem then..
 * In debug mode I always get this:
    15:04:26 [PATH] No wp-cache file exists. Must
   generate a new one.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [15 years ago](https://wordpress.org/support/topic/timestamp-different/#post-2087807)
 * If anonymous users are setting that debug message then there’s probably a cookie
   being set that’s upsetting the caching. Open wp-cache-phase1.php and check out
   the function that looks through the COOKIE array. Debug it to a file and you’ll
   probably find something.
 *  Thread Starter [PhoenixML](https://wordpress.org/support/users/phoenixml/)
 * (@phoenixml)
 * [15 years ago](https://wordpress.org/support/topic/timestamp-different/#post-2087817)
 * Alright, in the wp_cache_get_cookies_values function, one line was missing for
   me:
 * “global $_COOKIE;”
 *  Thread Starter [PhoenixML](https://wordpress.org/support/users/phoenixml/)
 * (@phoenixml)
 * [15 years ago](https://wordpress.org/support/topic/timestamp-different/#post-2087838)
 * super thanks
 *  [zamba](https://wordpress.org/support/users/zamba/)
 * (@zamba)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/timestamp-different/#post-2088112)
 * Can you explain to me where this line was missing? That would be a big help. 
   I have:
 *     ```
       function wp_cache_get_cookies_values() {
       	$string = '';
       	while ($key = key($_COOKIE)) {
       		if ( preg_match( "/^wp-postpass|^wordpress_|^comment_author_/", $key ) ) {
       			if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cookie detected: $key", 5 );
       			$string .= $_COOKIE[ $key ] . ",";
       		}
       		next($_COOKIE);
       	}
       	reset($_COOKIE);
   
       	// If you use this hook, make sure you update your .htaccess rules with the same conditions
       	$string = do_cacheaction( 'wp_cache_get_cookies_values', $string );
       	return $string;
       }
       ```
   
 * BTW, how do I debug wp-cache-phase1.php to a file? I see the uncomment to debug
   requirement but that’s my limit…nothing more shows in the debug file that is 
   referenced on the debug tab.
    I get:
 *     ```
       10:24:28 /Germany/food/steckerlfisch-oktoberfest-food supercache dir: [PATH]/wp-content/cache/supercache/www.travelsignposts.com/germany/food/steckerlfisch-oktoberfest-food/
       10:24:28 /Germany/food/steckerlfisch-oktoberfest-food No wp-cache file exists. Must generate a new one.
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food In WP Cache Phase 2
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Setting up WordPress actions
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Created output buffer
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Output buffer callback
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Anonymous user detected. Only creating Supercache file.
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Writing non-gzipped buffer to supercache file.
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Renamed temp supercache file to [PATH]/wp-content/cache/supercache/www.travelsignposts.com/germany/food/steckerlfisch-oktoberfest-food/index.html
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food Sending buffer to browser
       10:24:29 /Germany/food/steckerlfisch-oktoberfest-food wp_cache_shutdown_callback: collecting meta data.
       10:24:33 /Germany/files/2011/05/AJP_3072-300x204.jpg supercache dir: [PATH]/wp-content/cache/supercache/www.travelsignposts.com/germany/files/2011/05/ajp_3072-300x204.jpg/
       10:24:33 /Germany/files/2011/05/AJP_3072-300x204.jpg No wp-cache file exists. Must generate a new one.
       10:24:34 /Germany/files/2011/05/AJP_3070-300x204.jpg supercache dir: [PATH]/wp-content/cache/supercache/www.travelsignposts.com/germany/files/2011/05/ajp_3070-300x204.jpg/
       10:24:34 /Germany/files/2011/05/AJP_3070-300x204.jpg No wp-cache file exists. Must generate a new one.
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP Super Cache: timestamp different’ is closed to new replies.

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

 * 4 replies
 * 3 participants
 * Last reply from: [zamba](https://wordpress.org/support/users/zamba/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/timestamp-different/#post-2088112)
 * Status: resolved