[Rails] rails asset cache
I have a of line code like
<%= stylesheet_link_tag "styles",:cache => "cache/styles" %>
And it produces source as
<link href="/stylesheets/styles.css?1279620123" media="screen"
rel="stylesheet" type="text/css" />
config.action_controller.perform_caching = true
My concern is what is 1279620123 after question mark(?) above. If such a
random number always appended, whether caching in browser happens or
not?Please give me a good idea
Thanks
Tom
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home