Hi, At document of pyramid.view.static: http://docs.pylonsproject.org/projects/pyramid/1.0/api/view.html , it says cache_max_age argument affects "Expires" and "Max-Age" http response header. In practice, I found that by setting this value, it affects only "Cache-Control" response header.
I'm relying on akhet's add_static_route to serve static files. Which in turn, relies on pyramid.view.static . Is there any easy way to make pyramid send the "Expires" header? I'm particularly interested in this header directive because I'm trying to solve an IE6 problem at server side. The details are here: http://ahinea.com/en/tech/ie-dhtml-image-caching.html . Thanks! He Shiming -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
