[Rails] A number (id?) is added after css/js tags like style.css?1154009736

Chris Hall christopher.k.hall at gmail.com
Thu Jul 27 14:43:01 GMT 2006


this number (unix timestamp) is added to the javascript and stylesheet
links in development mode so that your browser is forced to reload the
files it would normally have cached.

On 7/27/06, Mathieu Chappuis <mathieu.chappuis.lists at gmail.com> wrote:
> Dears,
>
> My Ror setup works.. but I can't guess why
>
> <%= stylesheet_link_tag 'style' , :media=> 'screen'%>
>
> is rended as
>
> <link href="/stylesheets/style.css?1154009736" media="screen"
> rel="Stylesheet" type="text/css" />
>
> What is that number.. any usage ??
>
> Or I misconfigured something ?
>
> Thanks
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


More information about the Rails mailing list