This project is archived and is in readonly mode.
Rails 3 assets caching issues
Reported by beawesomeinstead | March 10th, 2010 @ 05:32 AM | in 3.0.2
When you specify :cache option in stylesheet_link_tag or javascript_include_tag, Rails 3 master (Mar 10) creates a cached file in development environment. However, that option should work, by default, only in production.
Reproduced by DefV on #rails-contrib.
Comments and changes to this ticket
-
Maximilian Schulz March 10th, 2010 @ 10:04 AM
I can confirm this. And it is a rather annoying bug during development ;)
-
Maximilian Schulz March 10th, 2010 @ 10:06 AM
Oh, I forgot to mention that this is not only valid for asset caching, but localization files in yml format don't get reloaded as well.
-
Denis Odorcic March 11th, 2010 @ 05:53 AM
I've attached a patch which fixes the asset_tag_helpers (javascript_include_tag and stylesheet_link_tag) by using config.perform_caching instead of ActionController::Base.perform_caching which wasn't being set for some reason. Tests pass. I didn't look into the other stuff like localization files but this could probably get someone started in the right direction I hope?
-
José Valim March 12th, 2010 @ 06:42 PM
- Assigned user changed from Yehuda Katz (wycats) to Carl Lerche
- Milestone cleared.
-
José Valim March 12th, 2010 @ 08:15 PM
- State changed from new to committed
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
-
mikle January 21st, 2011 @ 07:15 AM
michael jordan basketball shoes Jumpman23 Jordan,new jordan releases 2009 authentic retro jordan,jordan shoes for girls Authentic Retro Jordan Shoes,new michael jordan shoes Jordans For Sale,Buy Jordan sneakers Online,michael jordan sneakers Authentic Space Jams,cheap air force ones Authentic Jordans,michael jordan pictures Authentic Retro Jordan Shoes,custom air force ones Cheap Jordan Retro Shoes,buy wholesale products from Chinese Jumpman23 shoes .jordan air force ones Authentic Cheap Jordans,jordan shoes release dates Authentic Air Jordan Shoes,new jordan releases Authentic Air Jordans Authentic Jordan Air Shoes Air Retro Jordans Shoes.Air Jordan Sneakers.buy air jordans online.Cheap Nike Dunk Kicks.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>