MonoRails 2.0 CombineJS doesnt cache

Posted by olemarius on Stack Overflow See other posts from Stack Overflow or by olemarius
Published on 2011-01-29T12:31:34Z Indexed on 2011/01/30 7:25 UTC
Read the original article Hit count: 126

Filed under:
|
|

We just upgraded from MonoRails 1 to MonoRails 2.0, and want to use the CombineJS as seen here:

http://erichauser.net/2009/01/27/javascript-compression-for-monorail/

In Firebug Net, it loads as http://www.domain.com/MonoRail/Files/BuiltJS.rails?name=deflayout&version=8204059377542922030

But it has must-revalidate in the cache-control:

Cache-Control public, must-revalidate, max-age=259200

How can I get rid of that?

Thanks in advance! :)

© Stack Overflow or respective owner

Related posts about caching

Related posts about combine