• Resolved PIdev

    (@pidev)


    It seems there’s a bug – I’m trying to configure CF Edge cache for multiple websites on subdomains (same domain, same zone – main website is on root domain non-www, and 2 sites on subdomains – I would like to configure this plugin for all 3 websites; let’s say for: non-www; sub1; sub2)

    CF cache is enabled on main/root domain – When I enable CF cache for (for example) sub1.example.com – there’s no second cache rule added but instead cache rule related to main/root domain get overwritten with sub1 hostname
    + when I disable CF cache on ‘sub1’ site then cache rule (initially created for main/root domain) get deleted/disappear and cache for main/root domain stopped working

    Any solution for this?

    Maybe I’m doing something wrong? How to use and configure this plugin for multiple websites on subdomains?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ionut Neagu

    (@ionutn)

    Hello,

    This seems like a bug and we have no solution for now. I recommend you manually duplicate the rule for the other sub-domains and it should work.

    Thread Starter PIdev

    (@pidev)

    Hope you’ll fix it soon

    Duplicating the rule works, but if I disable cache on one site all cache rules (related to other sites) are being deleted

    Maybe you can somehow store cache rule name or rule ID in WP database?

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