subdomain-based page caching?


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