So using the magic :cache argument to combine multiple CSS or JS files
into one cached file, using stylesheet_link_tag or
I sort of figured that if the arguments to the function changed,
including different files… the combined cached file would be
This does not seem to be the case.
Stop application. Edit the code to be:
Restart the application. Run it. The combined cached my_key.js file
still only includes “a” and “b”, the cached file was not invalidated
when I added “c” to it. I had to go and find the file and rm it myself.
Is this a bug? Or is this expected behavior? Is there something I’m
missing? Under what circumstances is the cached file supposed to be
regenerated? If the last-modified timestamp changes on one of the
included files, will it be regenerated? Will it EVER be re-generated?