Hi all, I noticed that rails helper methods are adding extra info to the generated links whereas previously they didn''t. Here are some examples: <link href="/stylesheets/styles.css?1150398928" media="screen" rel="Stylesheet" type="text/css" /> <script src="/javascripts/prototype.js?1148640823" type="text/javascript"></script> <input src="/images/backgrounds/login.jpg?1150127693" type="image" /> Anyone know why the extra digits are at the end of links? cheers, AF -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060616/89638eee/attachment.html
Jonathan Conway
2006-Jun-16 13:14 UTC
[Rails] Re: helpers adding digits to generated links
Its done automatically by Rails for static files in order to prevent caching problems with browsers. Cheers Jonathan ---- http://www.agileevolved.com http://www.noodlesinmysandals.com Aidan Finn wrote:> Hi all, > > I noticed that rails helper methods are adding extra info to the > generated links whereas previously they didn''t. Here are some examples: > > <link href="/stylesheets/styles.css?1150398928" media="screen" > rel="Stylesheet" type="text/css" /> > <script src="/javascripts/prototype.js?1148640823" > type="text/javascript"></script> > <input src="/images/backgrounds/login.jpg?1150127693" type="image" /> > > Anyone know why the extra digits are at the end of links? > > cheers, > > AF > > > ------------------------------------------------------------------------ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails