# Stylesheet Query String

**URL:** <https://www.ruby-forum.com/t/stylesheet-query-string/155502>\
**Category:** Rails\
**Created:** [December 12, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/stylesheet-query-string/155502 "2008-12-12T15:53:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 12, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/stylesheet-query-string/155502/1 "2008-12-12T15:53:36Z")

</div>

How does Rails come up with the query string appended to the  
stylesheet tag?

The API does not even show a query string being appended:  
[http://api.rubyonrails.com/classes/ActionView/Helpers/AssetTagHelper.html#M001499](http://api.rubyonrails.com/classes/ActionView/Helpers/AssetTagHelper.html#M001499)

I thought it was a function of the file timestamp, but I have updated  
the file and the querystring still hasn’t changed. I just don’t want  
my users to have to refresh to force their browser to see the new  
stylesheet.

Thanks!  
Tom

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 16, 2008, 11:17pm UTC](https://www.ruby-forum.com/t/stylesheet-query-string/155502/2 "2008-12-16T23:17:04Z")

</div>

I never saw a reply to this post? Is my question hard or dumb? 🙂
