-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed: WP_Object_Cache::dc_close() -> Remove stale cache abandoned by WordPress, WooCommerce, Advanced Post Cache after doing cache invalidation. - Fixed: WP_Object_Cache::dc_get() -> The transient should return false if does not have a value or has expired. - Fixed: WP_Object_Cache::dc_get() -> Run maybe_unserialize to check and unserialize string data when failed to convert into an array. - Fixed: WP_Object_Cache::dc_save() -> Reduce cache miss if contain objects of headers remote requests. - Fixed: WP_Object_Cache::dc_save() -> Return true and avoid storing on disk if the transient has no value. - Fixed: WP_Object_Cache() -> dc_precache_load(), dc_precache_set() -> Do check precache max list. - Fixed: Tweaks() -> wpbrowsehappy(),wpservehappy() -> Use the pre_site_transient filter instead of blocking API requests, makes the query monitor happy. - Fixed: RecursiveDirectoryIterator -> Do check max_execution_time to avoid a fatal timeout. - Fixed: WP_Object_Cache() -> dc_precache_load(), dc_precache_set() -> Do check max_execution_time to avoid a fatal timeout. - Fixed: Event() -> optimizedb(), garbage_collector() -> Do check max_execution_time to avoid a fatal timeout. - Fixed: CronAgent::run_wpcron() -> Do check max_execution_time to avoid a fatal timeout. - Fixed: Tweaks::wpembed() -> Invalid body_class hook arguments. - Fixed: Plugin::get_opcache_status() -> OPcache File Cache Only -> Use getATime instead of getMTime to match with in-memory last_used_timestamp. - Fixed: Overview -> Object Cache -> Data is not updated when opcache is not available. - Fixed: Overview -> Flush Object Cache -> Immediately remove the cache file instead of truncate. - Added: WP-CLI command -> flush:transient, flush:advcpost, flush:menucache. - Added: wp_cache_flush_runtime(), wp_cache_*_multiple() functions. - Added: wp_cache_flush_group_match() -> Remove cache file match with the group name in files. - Added: WP_Object_Cache::dc_stalecache_filter() -> Capture cache key pattern match with the stale cache. - Added: WP_Object_Cache::add_stalecache() -> Set a list of stale cache to remove when Object Cache shutdown. - Added: Configuration -> Admin Interface -> Additional Flush Cache Action Button. - Added: Configuration -> Cache Options -> Post Caching Any Post Type. - Added: Configuration -> Storage Options -> Chunk Cache Directory, Auto Remove Stale Cache, Cache Files Limit, Cache Disk Limit. - Added: Opcache Viewer -> Possible to display a notice if the current site path has been blacklisted in opcache.blacklist_filename directive. - Added: DOCKET_CACHE_CHUNKCACHEDIR constant to enable chunk cache files into a smaller directory to avoid an excessive number of cache files in a single directory. - Added: DOCKET_CACHE_ADVCPOST_POSTTYPE constant to allow cache other post types. - Added: DOCKET_CACHE_ADVCPOST_POSTTYPE_ALL constant to allow cache any post types. - Added: DOCKET_CACHE_FLUSH_STALECACHE constant to enable auto remove stale cache. - Added: DOCKET_CACHE_PRECACHE_MAXLIST constant to limit cache entries per URL. - Added: DOCKET_CACHE_IGNORE_REQUEST constant to bypass object cache match key from POST, GET variables.
- Loading branch information
Showing
31 changed files
with
2,732 additions
and
1,043 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.