This project is archived and is in readonly mode.
ActionView::Base.computed_public_paths cacheing not consistent with ActionController::Base.perform_caching = false
-
Pratik
- Assigned user set to josh
-
josh
- State changed from new to open
- Milestone cleared.
Thats probably the best solution. Can you patch that in the development mode dispatcher callback.
-
Tim Harper
Looks like the internals have changed quite a bit in rails EDGE since 2.1, but the issue still manifests
Here's my patch, complete with a test:
http://github.com/timcharper/rai...
I also tested this by hand to verify that this commit causes timestamps to update automatically in asset urls, and, it does, just like grandma used to make it.
-
Repository
- State changed from open to resolved
(from [fcb45e5ec3c8ab7b11391c0639609918876ddbb2]) Ensure ActionView::Helpers::AssetTagHelper::AssetTag::Cache is cleared before loading so changes to asset files are picked up by the broswer [#1233 ActionView::Base.computed_public_paths cacheing not consistent with ActionCon... state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
-
salil
i am new to ruby i am facing the same problem as TIM.i changing my css files and images used in a css but my html page not changes because of cache. i don't know where to use above code. i.e. unless ActionController::Base.perform_caching
Thanks
IF YOU ASK YOU FOOL FOR 15 min. but IF YOU Don't YOU 'll b FOOL FOREVER.