Forum: Ruby on Rails Epoch Timestamps on linked files

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A9ed2115dc6e6dca0882ada62307a8dd?d=identicon&s=25 Endikos (Guest)
on 2007-02-22 01:07
(Received via mailing list)
Hello folks,

How do I tell rails not to put an epoch timestamp on the javascript
and css files it links in for me, as well as any images whose tags
I've used the image helper to generate?

Thanks Much in Advance!
Bill
15619be638a3ae3d6f86a4995c6484c1?d=identicon&s=25 Dee Zsombor (Guest)
on 2007-02-22 09:54
(Received via mailing list)
Endikos wrote:
> How do I tell rails not to put an epoch timestamp on the javascript
> and css files it links in for me, as well as any images whose tags
> I've used the image helper to generate?

Why would you want to remove the timestamps? When updating assets you
would want the client to pick up changes asap, by having those
timestamps
they will be reloaded on first request.

Also whilst the assets are left unchanged, the browser will not query
them
again as the URL looks the same. Check your browser logs.

Zsombor

--
Company  - http://primalgrasp.com
Thoughts - http://deezsombor.blogspot.com
This topic is locked and can not be replied to.