With a server that adds etags. Apache + Passenger does nicely

 

----------------------------------------------

Myles Eftos

Mobile: +61-409-293-183

 

MadPilot Productions - Created to be Different

URL: http://www.madpilot.com.au

Phone: +618-6424-8234

Fax: +618-9467-6289

 

Try our time tracking system: 88 Miles!

http://www.88miles.net

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Mark Mansour
Sent: Wednesday, 16 September 2009 10:44 PM
To: [email protected]
Subject: [rails-oceania] Adding timestamps to image refs in CSS and JS

 

So, I'm still running old school and using static css and js in /public.  My
CSS files have refs to images and the don't have a timestamps appended.

 

 

i.e.   .my_class { background:url(/images/blah.png); }

becoming 

.my_class { background:url(/images/blah.png?1111111111); }

 

How are you guys doing that? 

 

Mark

-- 
Mark Mansour
[email protected]
http://agilebench.com/




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to