I asked about this before:

http://groups.google.com/group/liftweb/browse_thread/thread/9daa4692acbfce6/00be519d77901fb0

Can anyone suggest a good way to set Expires headers?
- I'd like our images, JS and CSS to have expires headers perhaps 1
month in the future
- I'd like to set certain pages' expires headers perhaps 1 day in the
future

This way browsers can avoid re-fetching resources (pages, images, css
files etc) over and over again when they haven't changed.

I managed to do this using LiftRules.defaultHeaders, but it doesn't
seem to have any effect on images (we're serving them out of a /images
folder).

any ideas?

thx

- Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to