• Ciao Salvatore,
    Congrats on a great plugin. I have a question: I see you give the possiblity to exclude many woocommerce type of pages(cart, checkout etc) from caching. I was wondering: how come that the account page [is_account_page()] is missing from the list ? Is this already excluded from caching ?
    Thanks!

    Claudio

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi Claudio,
    pages for logged in users are excluded by default ??

    If your website runs on Litespeed server, please disable the option Overwrite the cache-control header for WordPress’s pages using web server rules

    Bye!

    Thread Starter cekaraz

    (@cekaraz)

    Ciao Salvatore, thanks for the reply!
    I thought the cache was bybassed only for administrators roles!
    So if I want my customers (logged in with clients account) to navigate the shop seeing the cached pages (which are faster) while they are logged in, I have to deactivate the bypass option ? (and maybe add the /my-account/* path to the cache exclusion) is that right ? It could be a nice feature for your next release to add roles for cash bypass ??

    Thanks!

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @cekaraz ,
    the page is bypassed for all logged in users, regardless of role.

    Maybe there is something wrong on your setup. Please give me a link

    Thread Starter cekaraz

    (@cekaraz)

    Ciao Salvatore, the cache bypass is working fine and cache was bypassed, except for the “add to cart” button on single product page. When I click that, the product page is reloaded and shows the cached version.
    I want to provide you with a link
    But after the last update I have a major issue with your plugin and I can’t use the cache anymore. I get this error message instead:

    “Connection error: cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received”

    And there is no way to get the plugin to enable the cache in cloudflare anymore. I tried to delete page rules in cloudflare but I keep getting this error. Any hint ?
    I can provide you with a log file if you want.

    Ciao

    Thread Starter cekaraz

    (@cekaraz)

    OK so I sorted the curl error with my hosting provider. Apparently there was a misconfiguration.
    If you want to check the bypass cache behaviour on add-to-cart button on the single product page check this link out:
    https://www.friperie.it/shop/abiti-vintage/abito-a-pois-rosa-pesca-in-viscosa/?swcfpc=1

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce account page caching’ is closed to new replies.