Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.8.4
-
None
-
Version: tested on 3.8.4
PHP Version:
Webserver:
Database:
Description
The old cache files do not get deleted, but the new ones (when publishing content) are created the same way as the script does: by doing a request to the web server with file_get_contents. So you just get the content of your old cache files back :-D
A quick fix: in kernel/classes/ezstaticcache.php, function executeActions, right after:
case 'store':
list( $destination, $source ) = $parameters;
if ( ! isset( $fileContentCache[$source] ) )
{
add this code:
// remove old cache file before retrieving the content
unlink( $destination );