Rails add cachebuster timestamp to SWF
I noticed javascript and images get a timestamp appended t开发者_如何学Goo its filename to prevent them from being cached when I use image_tag or javascript_tag. Is there to get this functionality for a swf file I have in /public/swf?
image_path('/swf/my.swf')
...will work, since you're passing an absolute URI to your SWF file, it will use the full public path helper logic including any configured cache-buster.
精彩评论