Hi, I''m using the Rails 2 feature for asset packing, but I still can''t figure out how Rails decides when to expire a cached asset package. I''m using <%= javascript_include_tag "prototype", "application", "effects", "my_stuff" :cache => "cache/site" %> in my template, which becomes a <script src="/javascripts/cache/site.js" type="text/javascript"></script> in the HTML. If I now update my_stuff.js, the only way to get the changes "online" so far was deleting the cache/site.js and restart the server - which is obviously a little bit rough. I tried to touch every .js in my javascript dir, I touched the corresponding RHTML template, no effect. I removed cache/site.js, but then I get a "No route matches "/javascripts/cache/defaults.js" (which is fairly understandable on the other hand). Any idea what''s best practice here? Cheers Thomas -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---