• Resolved Irina

    (@irinashl)


    Hello Saumya,
    when you turn on Worker mode
    error:
    workers.api.error.duplicate_route (err code: 10020)
    Q: Should I enable Worker mode in Super Page Cache for Cloudflare?
    —-
    we included:
    – Browser Cache-Control max-age – 500
    – Enable fallback page cache
    – Enable preloader
    – Preload all internal links in WP menu top
    – Auto prefetch URLs in viewport
    Big request: look at our settings.
    Thanks

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

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

    (@isaumya)

    error:
    workers.api.error.duplicate_route (err code: 10020)

    – Check the cloudflare worker section in your Cloudflare dashboard and if you already have any existing worker pointed to your site then you need to remove that in order for this worker to be placed in Cloudflare.

    Should I enable Worker mode in Super Page Cache for Cloudflare?

    – Yes you absolutely can, it has much better cache bypass logic and a few more extra features like removing unnecessary query parms from the URL so they do not get considered as a separate URL and separate cache.

    Browser Cache-Control max-age – 500

    – Not needed. Recommend you to use the default settings of 60. Cause our goal is to serve the cached item from Cloudflare CDN and not browser. The browser might have old stuffs while CDn has latest stuff. Personally haven’t seen any gain from increasing that number.

    Enable preloader & Preload all internal links in WP menu top

    – Not needed. As preloader are server resource intensive and doesn’t guarantee that CF will cache the page after seeing the preloader request. Better to enable Smart Tiered Cache + Cache Reserve in your Cloudflare Dashboard. That will give might higher HIT ratio.

    Auto prefetch URLs in viewport

    – Great. Also enable prefetch on mouse hover. It helps a lot.
    But this option is generally not recommended for eCommerce sites as in those cases the prefetch might be counted as an action like adding product to cart. So, depending on how your eCommerce site is setup you need to carefully check this option.
    But for non eCommerce site this is a no brainer and will give you great improvements.

    Hope this helps. 🙂

    Thread Starter Irina

    (@irinashl)

    Saumya, thank you very much for the quick and complete answer!
    We have enabled Worker mode.

    Plugin Contributor iSaumya

    (@isaumya)

    Awesome. 🙂 Happy to know that your queries are resolved properly.

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

The topic ‘Worker mode and plugin settings’ is closed to new replies.