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
Comment #1
agentrickardThis 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.
Comment #2
marcelomg CreditAttribution: marcelomg commentedI'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?
Comment #3
agentrickardAgain, this doesn't happen by default, so what caching system are you using?
Comment #4
vlooivlerke CreditAttribution: vlooivlerke commentedI 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
Comment #5
agentrickardThere is not enough information in the report to replicate the issue.
Comment #6
vlooivlerke CreditAttribution: vlooivlerke commentedIt 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
Comment #7
1kenthomas CreditAttribution: 1kenthomas as a volunteer and commentedMarking as cannot reproduce; caching appears to be working on subdomains. Reopen in a problem still exists.
Comment #8
jomarocas CreditAttribution: jomarocas as a volunteer commentedok 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
Comment #9
bburgI 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.