Drupal 7.9
Domain Access 7.x-3.10

I haven't been able to find a solution to this issue and I'm hoping I'm not the only one experiencing this issue. On the Performance configuration page I've enabled the option "Cache pages for anonymous users". I have multiple domains setup on a single Drupal installation. When I go to say:

example.com/node/20

That page gets cached. If I look in the "cache_page" table I see an entry for example.com/node/20. But if I go to:

domain2.com/node/20

That page does not get cached or put into the "cache_page" table. So I'm assuming that when anyone goes to domain2.com/node/20 they will not get the cached version of the page.

How can I make Domain Access work with the Drupal page caching system for every domain defined in Domain Access?

Comments

agentrickard’s picture

This doesn't normally occur. Since the cache key is the absolute URL, each should have an entry in cache_page without extra work.

Perhaps something at the server level is causing the two domains to be read the same way?

Note also that Domain Conf (and Domain Settings) let you set page cache per domain. So check that setting.

marcelomg’s picture

I'm facing the same issue. Cron jobs are clearing the cache for the default domain only.
I'm using
-Drupal 7.23
-Domain Access 7.x-3.9

Has anyone figured out how to clear caches for all domains?

agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)

Again, this doesn't happen by default, so what caching system are you using?

vlooivlerke’s picture

I am having the same issue

I dont have cache enabled on main domain nor on any other domain.

I only compress the js, and css files.

My site cant use cache but the domains cache themselfes

agentrickard’s picture

There is not enough information in the report to replicate the issue.

vlooivlerke’s picture

It seemed to fix itself

Next time I will send links. I think it has something to do with cron getting stuck. But it was stuck in a cached mode for 2 day

1kenthomas’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Marking as cannot reproduce; caching appears to be working on subdomains. Reopen in a problem still exists.

jomarocas’s picture

ok this problem persist, i have a subdomain, i enabled only cache pages, but i cannot compress css , my second domains breaks, but only css, im verified the css is ok, and nothing. i see this module break the cache css, but only css

bburg’s picture

I seem to have pages using the the main domain name for javascript, css, and fonts. Which leads me to believe it's not caching on a per-domain basis. I'll investigate further in a bit.