Store legacy cache files in the supercache directory. #177

Merged
merged 2 commits into from Feb 9, 2017

Projects

None yet

1 participant

@donnchawp
Contributor

If we store the legacy cache files in the supercache directory it will
be much easier to maintain them as they'll be in a directory structure
that reflects the URLs served by the site, just like supercache files.
This patch checks the original blogs_cache directory first but any new
cache files will be created in the supercache directory.

@donnchawp donnchawp Store legacy cache files in the supercache directory.
If we store the legacy cache files in the supercache directory it will
be much easier to maintain them as they'll be in a directory structure
that reflects the URLs served by the site, just like supercache files.
This patch checks the original blogs_cache directory first but any new
cache files will be created in the supercache directory.
e59949a
@donnchawp donnchawp self-assigned this Feb 2, 2017
@donnchawp donnchawp Store the meta file alongside the cache file since they're split up
With wp-cache files stored in the supercache directories we can put the
meta files in the same directory since they're separated out by URL.
1ee1215
@donnchawp donnchawp merged commit 3284d22 into master Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment