Forum: Ruby on Rails subdomain-based page caching?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Af3d60c180525341568a3d59dce2f48e?d=identicon&s=25 Avram Dorfman (avramd)
on 2008-12-13 06:23
(Received via mailing list)

I just wanted to verify my understanding; As of rails 1.2, it was
impossible to have independent page caches on a per-domain basis,
right? In other words, if a single rails app responds to both
  and, and uses page caching, it *must*
deliver the same page from cache for both of these requests.

I'm assuming this b/c cached pages supposedly never invoke your rails
code, so there is never an opportunity for your app to differentiate
the location of the cached files based on the domain.

Is this understanding correct? Or is there a way to get
  and to be page-cached independently?

If not for Rails 1.2, then how about for any newer versions? I'm not
up to date on the 2.x capabilities.


So, if there was nobody else when God said "Let there be light," was
He talking to Himself? Does that mean He is insane? Because that would
explain a lot
This topic is locked and can not be replied to.