• What sort of steps could/should I go through if the plugin clearly isn’t caching anything at all?
    No comment in the html about a cache hit.
    No Posts/Pages/whatever-I-selected have any html files in wp-content/cache/all of any kind.
    Clearly something is keeping it from deciding or being able to cache stuff but, I don’t know what it is or how I’d go about finding out.

    I have updated WordPress and the plugin
    I have verified that the plugin is able to properly update the .htaccess file when changing settings
    Yes, I am making sure that I am (edit:) not logged in when loading the page(s).
    Yes, the Cache System is Enabled (and I see them in .htaccess)
    In case it is relevant, using Elementor

    Thoughts?

    Thanks

    • This topic was modified 1 month, 1 week ago by pframe.
    • This topic was modified 1 month, 1 week ago by pframe.
    • This topic was modified 1 month, 1 week ago by pframe.
    • This topic was modified 1 month, 1 week ago by pframe.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter pframe

    (@pframe)

    Update — not sure why the auto cache was not enabled by default — but even turning it on, I get 4 errors — but how to I find out what those errors are?

    Thread Starter pframe

    (@pframe)

    Another update — have discovered that when pulling the page via remote get, I’m getting a 403 (via cloudflare) — possibly because I’m ultimately making a request to myself but, not certain yet.

    Plugin Author Emre Vona

    (@emrevona)

    Thread Starter pframe

    (@pframe)

    I have had both of those configurations set just like that for a long time. I even generated a new Cloudflare token for good measure — same results.

    Plugin Author Emre Vona

    (@emrevona)

    can you tell me the site url please?

    Thread Starter pframe

    (@pframe)

    After talking with some cloudflare experts, it was being blocked by Cloudflare Bot Fight Mode being enabled. I had attempted to bypass it but, currently, you can only bypass “Super” Bot Fight Mode — although Cloudflare has said they plan to make it bypassable eventually.

    After I solved this issue, the requests were getting canceled — I discovered that this was due to the request timing out because the plugin has a hardcoded 10 second timeout — I increased this (edited plugin code direclty) and I started getting successful cache messages (I definitely need to work on speeding things up but, I was and am trying to get page caching working first).

    It would be nice if you could add at least an environment variable check 1that I could set to permanently set the timeout value.

    I have another question, which I can totally ask in another thread but:
    I’m still not having many pages cached — Inspecting the cache files there are only 2 .htmls (which I’m pretty sure are ones I went and hit “Update” on the post edit page) and I’ve told the plugin to run 4 caches per minute, and it’s clearly not working so…
    1) What mechanism is it using to schedule caches — wp-cron?
    2) How would/should I go about finding out if/why those over-time cache operations are failing?
    3) Does this plugin only use remote get to cache pages? Like, it never caches the final result that WordPress sends out?
    And then, any other suggestions on how I should proceed?

    Thanks

    Plugin Author Emre Vona

    (@emrevona)

    Thread Starter pframe

    (@pframe)

    Hitting the url gives me the expected feedback saying stuff got cached, but no cache files are being created. I’ve triple checked the folder and file permissions. How should I proceed with debugging?

    Thread Starter pframe

    (@pframe)

    After much debugging, I discovered that for still unknown reasons, that it was always failing the check at line 810 of inc/cache.php due to $this->exclude_current_page_text mysteriously always being set to "<!-- Generando CSS -->"

    Disabling this check in the code has allowed the cache files to be created.

    Any thoughts on how that could happen? (even if it could be caused indirectly by an outside source such as another plugin)

    Would be great if a permanent fix could be found.

    • This reply was modified 2 weeks, 2 days ago by pframe.
    Plugin Author Emre Vona

    (@emrevona)

    Your theme or a plugin uses our hook system, so cache is not created.
    https://www.wpfastestcache.com/tutorial/exclude-urls-by-calling-the-function-hook/

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.