You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 */publicfunctionpurge($url)
{
if (is_file($path = $this->getPath($this->getCacheKey(Request::create($url))))) {
unlink($path);
returntrue;
}
returnfalse;
}
What about removing files from /app/cache/dev/http_cache/en on purge too?
The text was updated successfully, but these errors were encountered:
This PR was merged into the 2.1 branch.
Commits
-------
54609b9 [HttpCache] added a test (cached content should be kept after purging)
Discussion
----------
[HttpCache] added a test (cached content should be kept after purging)
closes#6830
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:
What about removing files from /app/cache/dev/http_cache/en on purge too?
The text was updated successfully, but these errors were encountered: