• Resolved adnivate

    (@adnivate)


    Hi! Thanks for such a powerful plugin. I was wondering that I already have such custom page rules in my Cloudflare dashboard.

    Screenshot attached here

    I am also using “Super Page Cache for Cloudflare” with Workers Enabled.

    Should I disable the custom page rules in Cloudflare to achieve maximum results?

    • This topic was modified 11 months, 3 weeks ago by adnivate. Reason: Image Link Update

    The page I need help with: [log in to see the link]

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

    (@isaumya)

    Hi,
    These custom page rules you have on your website none of them are needed. You can delete all of them. Then install and setup this plugin which will add 1 page rule which is enough for everything.

    Thread Starter adnivate

    (@adnivate)

    Hey @isaumya! Thank you for your prompt response. Very much appreciated.

    Just as you mentioned – I deleted all the custom page rules and installed the SPCFC from scartch. It seems to be caching my pages, but I do not see a page rule, it should have added, just like you mentioned.

    Also – Can I use a Cache Warmer Plugin, or SPCFC can take care of it too?

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    This plugin is supposed to add one page rule.

    Regarding the cache warmer plugin, I would suggest you not to use it as it might not bring much benefit to you, but you can definately try and play with it.

    Thread Starter adnivate

    (@adnivate)

    I tried again, using both methods API key and API Token, but SPCFC is not adding any page rule. What to do? Could you please mention the page rule here, so I can add it manually?

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    Can youy please confirm you are using the main super admin cloudflare account login and not a member who have shared access to the account? This needs to be done via the main account that owns the zone.

    Thread Starter adnivate

    (@adnivate)

    Hi ! Yes, its my own account. So I am the super admin. Also, I see it is adding a worker to my account.. but it is not adding a page rule ??

    Plugin Contributor iSaumya

    (@isaumya)

    That is so wired. Inside the plugin settings > other tab > set log verbosity to “HIGH” then try to set up the plugin and if you see page rule is not added then you can download and check the log what response is received from the Cloudflare API. BTW you are using the Global API Key right?

    Thread Starter adnivate

    (@adnivate)

    Hi @isaumya! I think we have a solution.. Please correct me if I am wrong:

    “We cannot use Page Rules and SPCFC Workers simultaneously, as they both have the same function. All this time I have been using Workers Enabled”

    Also, under the SPCFC Workers setting in CF, do you advise changing the Workers Placement to Smart Placement, as by default, SPCFC Workers are placed close to the user?

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    You really don’t need to use the worker (unless you are overwriting the worker code). You can disable the worker and just use the page rule system. And if you are an advanced user, you can also use the cache rules: https://gist.github.com/isaumya/af10e4855ac83156cc210b7148135fa2

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Custom Page Rules’ is closed to new replies.