What's new? | Help | Directory | Sign in
Google
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Versioned Urls Plugin
=====================

This plugin modifies Rails' existing asset timestamping mechanism to support
versioned urls, a-la "http://www.somehost.com/images/logo.gif.v423".

Moving the asset version information into the path (rather than in a parameter,
like Rails' default "http://www.somehost.com/images/logo.gif?39487279348")
makes it possible to force even more aggressive client-side caching of
assets like images, stylesheets, javascripts, etc.

** NOTE ** that this plugin can only be effective when combined with URL
rewriting and expiration header pushing on your web server. If you use this
plugin without adding the appropriate rewriting rules to your web server, none of
your assets will serve correctly. If you use this plugin without adding the
appropriate expiration header pushing to your web server, then the plugin won't
be effective at improving browser caching behavior.

For full details, see the blog post at http://blog.dannyburkes.com/versioned-urls-for-rails.


Show details Hide details

Change log

r76 by dburkes on Oct 06, 2008   Diff
move to Google Code repository
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 1015 bytes, 21 lines