Rename $skip_url_path variable to $skip_blog_path. Update getting the settings from the disk to create a settings file if the cache exists but the settings file does not. This means if there is no cache and no settings file the cached page will be delivered on the third request (instead of the second request if the settings file did exist):
First request caches the page.
Second request would try to get the settings from the disk and if not available will create it in the late engine start.
Third request would deliver the cached page.
In most cases the settings file should always exist, but this will ensure a settings file is created if a page is being cached.
Rename
$skip_url_path
variable to$skip_blog_path
. Update getting the settings from the disk to create a settings file if the cache exists but the settings file does not. This means if there is no cache and no settings file the cached page will be delivered on the third request (instead of the second request if the settings file did exist):First request caches the page.
Second request would try to get the settings from the disk and if not available will create it in the late engine start.
Third request would deliver the cached page.
In most cases the settings file should always exist, but this will ensure a settings file is created if a page is being cached.