> - When expiring a cached fragment, it sends along the subdomain. This
> means that when I create a comment atwww.domain.com/comment/create,
> it will expire the cache forwww.domain.com, but not for domain.com. I
> don't want it to store two different cached fragments for www and non-
> www, as they're exactly the same. I also want both the www and non-www
> page to expire. Should I do something like cache(:action =>
> '...', :subdomain => false, :action_suffix => '...') and do the same
> for the expire_fragment part? Or is there a better solution?

Sorry. The above doesn't work! Even with :subdomain => false present,
it will look for the www-version. Is there another way? Or should I
start redirecting all www-requests to domain.com?

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to