Hello,

I have a question about the usage of Cache Actions and Domain Access: Is a cached node cleared for all domains or only the domain the rule was called from?

I am using the "domain access" module on my website. My website has 4 domains and the content is often available on several domains.

I have a rule to "Clear a specific cache cid / cache_page" by /node/nid when the node is changed.

Let's say /node/1111 is available on two domains. If I change this node on domain1, is only the varnish cache of www.domain1.com/node/1111 cleared or also the varnish cache of www.domain2.com/node/1111?

I want to clear /node/1111 for all domains...

Thanks for your help.

Comments

DruJo’s picture

I think I have the same problem.

I am using domain access and my website is available on 3 domains (To be more precise, every domain has another theme and some nodes are only available on one or two domains).

I use varnish and the cache actions module.

One cache actions rule for example says to clear a node if a new comment is posted for this node.

As I noticed today, this only clears the node from the domain the comment was posted on.
But this node is available on another domain and there the node is not cleared.

So I need a option (a wildcard...) to clear all cached pages in the form */node/nid. The domain should not be included in the clearing request.

How can I do this?