Closed
Description
Currently /Symfony/Component/HttpKernel/HttpCache/Store removes only metadata files in /app/cache/dev/http_cache/md (returned by $this->getCacheKey) and leaves /app/cache/dev/http_cache/en:
<?php
/**
* Purges data for the given URL.
*
* @param string $url A URL
*
* @return Boolean true if the URL exists and has been purged, false otherwise
*/
public function purge($url)
{
if (is_file($path = $this->getPath($this->getCacheKey(Request::create($url))))) {
unlink($path);
return true;
}
return false;
}
What about removing files from /app/cache/dev/http_cache/en on purge too?