开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜