Forum Replies Created

Viewing 7 replies - 31 through 37 (of 37 total)
  • Thread Starter zapappa

    (@lesarnott)

    Thread Starter zapappa

    (@lesarnott)

    Yes, that was it. A redirect was taking place because there was no ‘/’ in front of the query ‘?’ which caused a redirect including ‘admin’. That’s all fixed on my side and now I see the the cache folders such as ‘info’, containing several variants of the querystring (which looks very elegant).

    However the load time time is still over 3 seconds on these pages, probably due to my ISP. Just for a test I copied a cached querystring ‘index.html’ to /wp-content/cache/all/info/test/ and navigated to it in the browser. It loaded very fast without the 3 second delay.

    I couldn’t do this test directly from the /wp-content/cache/all/info/?row_id=674 folder because the ‘/?’ in the folder name would obviously be treated as a query string.

    In summary, all is working as designed but is there anything I can do to speed up these ‘querystring’ cached pages?

    Thread Starter zapappa

    (@lesarnott)

    I’m thinking this has to do with the admin exclude rule. If the URL contained admin would that no-op the querystring page caching? I’ll take a look and get back to you.

    Exclude CookiesAdd New Rule
    Contains: Admin
    Caching has been disabled for Admin users

    • This reply was modified 5 years ago by zapappa.
    Thread Starter zapappa

    (@lesarnott)

    https://www.fridayharborsailing.com/calendar/calendar-races/ and go down to May 16 Single Handed Race and then click on list or info.

    I don’t see any cache file/folders created in the past few minutes. What would the folder/file names format be for cached querystring pages?

    Thread Starter zapappa

    (@lesarnott)

    Hi Emre

    All my fault I think. I moved the WPFC_CACHE_QUERYSTRING line up and tried again. I still didn’t see any new files in the cache but I checked the page source in Chrome and sure enough at the bottom was the cache file creation indication (see below). Then I moved the querystring line back further down and it worked just fine, so I’m guessing it was working fine the first time – I just didn’t know it.

    My (perception) problem was that although the cached response time is faster it is not the lightening speed that the regular page cache produces. I guess that made me think it wasn’t being cached. It is faster but I understand that it uses php code and not the mod_rewrite and is therefore slower. I’m on a shared host so un-cached pages can be slow anyway.

    So, thank you very much and, if you have time, could you please describe what happens with the caching of “query string pages” and why there doesn’t seem to be a corresponding cache page in cache/all ?

    <!– WP Fastest Cache file was created in 1.9958560466766 seconds, on 10-03-20 12:05:31 –>
    <!– via php –>

    • This reply was modified 5 years ago by zapappa.
    Thread Starter zapappa

    (@lesarnott)

    Thanks for getting back but like I said I’ve already edited wp-config.php to include define(‘WPFC_CACHE_QUERYSTRING’, true);. Are you talking about something else?

    Thread Starter zapappa

    (@lesarnott)

    Thanks Marko

Viewing 7 replies - 31 through 37 (of 37 total)