v141229 (Release Candidate)
Pre-release
Pre-release
- Bug Fix: We have had a few reports of getMTime Stat failing when clearing the cache. This fix clears the Stat Cache before iteration when deleting files from the cache directory. Props @jaswsinc. See #385.
- Bug Fix: Addressed another issue related to "Fatal Error: 'Unable to clear dir'" and tmp directories that don't get cleared by Quick Cache. This fix discards iteration references before renaming the tmp directories. Props @jaswsinc. See #288.
- Enhancement: Added a new filter (
quick_cache\\share_disable_cache_locking
) to allow disabling cache locking. Simply return booleanTRUE
to this filter to disable cache locking. This may be useful for site owners who are experiencing issues with cache locking on web hosting platforms with filesystems that don't properly support locking. Note that this filter must be applied using an Advanced Cache Plugin (see Dashboard → Quick Cache → Plugin Options → Theme/Plugin Developers). See also #387. - Enhancement: Added a new filter that allows forcing Semaphore cache locking on hosting platforms where
sem_get()
is available and would result in improved performance. Returnsem
to thequick_cache\\share::cache_lock_lock_type
filter to force Semaphore cache locking, orflock
to use the default method that usesflock()
. Note that this filter must be applied using an Advanced Cache Plugin (see Dashboard → Quick Cache → Plugin Options → Theme/Plugin Developers). See also #387.