Hi! What HTTP headers do I have to sent to make the browser cache the output of an action? I tried: request.delete('Cache-control') but no luck. It's an action that sends an image to the browser, hence I need that. Thanks, Rob
on 2006-02-16 19:17
on 2006-02-17 02:27
Wow. This is what I was looking for: # Set cache to expire in one year expires_in 1.year Beautiful..
on 2007-04-25 20:48
Robert MannI wrote: > Wow. This is what I was looking for: > > # Set cache to expire in one year > expires_in 1.year > > Beautiful.. Where do you use expires_in? Can you set it within a controller?