• Resolved jlealestofo

    (@jlealestofo)


    Hello,

    First of all, this plugin is great. It works really well, is super intuitive and the website is super fast.

    I use WooCommerce and I have a question. The Cache Buster is super useful if you are admin of the website since you can bypass Cloudflare cache and check if your website is good. If I visit my website in Incognito I don’t get the Cache Buster and that’s great.

    But my question is for my costumers. If they register in my website has costumers, they will also bypass the Cloudflare and have the links with swcfpc=1 at the end because they are logged-in. This has a negative impact on the perceived performance of the website because they will not benefeit from this plugin.

    So my question is if I can disbale Cache Buster based on roles. Is it possible?

    Thank you πŸ™‚

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    If you would like to stop using the cache buster, then I will suggest you to check out this guide: https://gist.github.com/isaumya/af10e4855ac83156cc210b7148135fa2

    Thread Starter jlealestofo

    (@jlealestofo)

    Hello @isaumya

    Thank you for your answer. I will check that guide and give a try.

    However, is there a way to disable cache buster by user role? I don’t know if it’s a difficult costumization or even if it’s possible.

    Thank you πŸ™‚

    Plugin Contributor iSaumya

    (@isaumya)

    Unfortunately no. When you disable cache buster it’s disabled for all as it’s not using cache rules.

    Thread Starter jlealestofo

    (@jlealestofo)

    Ok thank you πŸ™‚

    Thread Starter jlealestofo

    (@jlealestofo)

    Hello again,

    So I used the guide to remove cache buster and it’s working as intended in my WooCommerce Store.

    However, I tested my website speed and it continues to be better if I use incognito. That means that for my costumers who are logged-in, the perceived performance is worst compared to non logged-in.

    Am I doing something wrong? I thought that removing the cache buster would improve the performace for logged-in users.

    Thank you πŸ™‚

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    That is correct. For logged-in users cache is bypassed as content needs to be dynamically generated by PHP based on the user who has logged-in and many other logics. So, to improve the logged-in user experience, your actual server speed becomes more important as cache can’t help you here.

    Thread Starter jlealestofo

    (@jlealestofo)

    Hello,

    Ok perfect thank you. Just another question, If I have fallback cache, logged-in users will also bypass that cache correct?

    Plugin Contributor iSaumya

    (@isaumya)

    Yes, that is correct

    Thread Starter jlealestofo

    (@jlealestofo)

    Perfect, thank you

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Remove Cache Buster for WooCommerce Users’ is closed to new replies.