Forum: Ruby on Rails Three Fragment Caching Questions

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4d8b13b54ae2fabfffd5537b04c7369c?d=identicon&s=25 Scott Fortmann-roe (scishop)
on 2007-01-23 02:31
(Received via mailing list)
Hi,

I have three questions and would love answers to any of them:

1. Can I use fragment caching on a layout?

2. How can I expire fragments using script/runner. Code would be
helpful here, I see hints online but none of it is complete.

3. When I enabled fragment caching in a web app there was a strange bug
so that if users when to "site.com" everything worked fine, but if
users went to "www.site.com" the layout was repeated twice around the
dynamic content. The web server was lighttpd.

Again answers to any of these questions would be helpful.

-Scott
This topic is locked and can not be replied to.