# Asset IDs not changing in development environment?

**URL:** <https://www.ruby-forum.com/t/asset-ids-not-changing-in-development-environment/128220>\
**Category:** Rails\
**Created:** [February 6, 2008, 12:07am UTC](https://www.ruby-forum.com/t/asset-ids-not-changing-in-development-environment/128220 "2008-02-06T00:07:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronpowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7bcc69/32.png) [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Post date:** [February 6, 2008, 12:07am UTC](https://www.ruby-forum.com/t/asset-ids-not-changing-in-development-environment/128220/1 "2008-02-06T00:07:27Z")

</div>

Perhaps I’m completely missing something, but…

It seems like ActionView::Helpers::AssetTagHelper#compute\_public\_path  
keeps a cache of all public paths along with the appended asset id.  
However, this means that applications (in this case, Facebook) that  
cache based on the name of the file will never pull the new file if  
it’s been modified.

Would it make sense to either:  
(a) Not cache the public paths in development mode or  
(b) Clear ActionView::Base.computed\_public\_paths after the application  
has been reloaded
