Barry,

One thing you may want to try.

stale?() and fresh_when() accept arrays for the :etag argument

--Keenan
On Thursday, April 7, 2011 at 9:41 AM, Todd A. Jacobs wrote: 
> Heroku doesn't support all forms of rails caching, because it's a read-
> only filesystem. ETags usually work well, but a lot depends on how
> you're generating them. I just posted over on Rails Talk about the
> fact that fresh_when() doesn't support collections, for example.
> 
> You'll definitely need to provide more information about how you're
> generating your ETags to get useful help. I can assure you, though,
> that when you do it right, Varnish and the user clients see the
> correct hashes.
> 
> On Apr 5, 10:30 am, Barry Hoggard <ba...@tristanmedia.com> wrote:
> > I'm noticing that my cached pages show different ETags and contents on
> > each access.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to heroku@googlegroups.com.
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 

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

Reply via email to