Using speedy static caching.
All working well for all other 47,000+ pages on the site. But, the home page is problematic.
All static files are stored in the default location:
Then, the template group structure is mirrored. I’m not using any URL overrides, or anything like that on the templates. All default settings for the cache creation.
This means that the home page cache file location is:
about us cache file is:
etc for all other pages in the site.
When the cache is cleared for the home page (on a save, or a manual clear of that cache file), the next page that is hit on the site (even if it’s not the home page) is getting placed at:
So, then the next time the home page is hit, that cache file is served (as expected). Except that it’s not the home page content.. It’s whatever page was first hit after the home page cache file was removed. I can’t determine why this would be happening. Again, it’s only the home page.. None of the other 47,000+ pages on this site are exhibiting this behavior.
So, I thought I would use the url_override or url_prefix in order to specify where the cached file is stored. That way, I’d place the home page cache file in:
So, I’ve tried the following tag on my home page template:
as well as
Both of them seem to work, as far as creating a /home directory in my static file location, with index.php inside that directory. And having that file be the home page content (consistent with how all my other static cache files are created).
BUT, that cache file is regenerated after each new page load. So, the cached version of the page is never actually used.
Not sure which issue should be addressed first. Maybe these should be broken into two separate tickets?