If the file public/javascripts/cache/all.js
is removed, and then a webpage is fetched from the rails server, then that all.js
file
magically reappears in the file system, with a timestamp that is half an hour ago. Is there actually Rails mechanism that regenerates this file
or what might be regenerating this file?
views:
27answers:
1
+1
A:
Most probably you're using javascript_include_tag :all, :cache => true
somewhere in your layout.
This will bundle all of your javascripts into all.js
. You can also use :recursive => true
to include subdirectories.
balu
2010-10-29 17:36:02