WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20331


Ignore:
Timestamp:
03/30/12 14:13:20 (2 years ago)
Author:
nacin
Comment:

Also, the timeout of 7200 is a bit too long. This was chosen as it was the timeout for theme roots in an earlier version. We can drop that to 1800 without any issues. WP.com uses something even smaller like 300.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20331 – Description

    initial v1  
    33Additionally, cache deletes should occur when an update occurs. Otherwise we may be reading old Version numbers from disk. 
    44 
    5 When deleting the cache, we will need to refresh the headers that exist in the current object instance. A simple $this->__construct() can re-initialize everything. This will enable us to call $theme->cache_delete() at any time to force fresh information. 
     5When deleting the cache, we will need to refresh the headers that exist in the current object instance. A simple `$this->__construct()` can re-initialize everything. This will enable us to call $theme->cache_delete() at any time to force fresh information.