# Can I turn off config.action\_view.cache\_template\_loading in Production

**URL:** <https://www.ruby-forum.com/t/can-i-turn-off-config-action-view-cache-template-loading-in-production/172975>\
**Category:** Rails\
**Created:** [July 30, 2009, 6:34pm UTC](https://www.ruby-forum.com/t/can-i-turn-off-config-action-view-cache-template-loading-in-production/172975 "2009-07-30T18:34:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jebw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/77aa72/32.png) [@jebw](https://www.ruby-forum.com/u/jebw)\
**Post date:** [July 30, 2009, 6:34pm UTC](https://www.ruby-forum.com/t/can-i-turn-off-config-action-view-cache-template-loading-in-production/172975/1 "2009-07-30T18:34:12Z")

</div>

I’ve got an app which users can edit the ERB templates for emails, the  
changes aren’t taking effect till the app restarts though because

config.action\_view.cache\_template\_loading = true

I’ve seen various comments that suggest it has to be true when in  
Production for thread safety - is Rails actually running in a threaded  
manner yet? Surely this is a none issue at the moment?

Is anyone else running production apps with this set to false?

Thanks

jebw

PS: yeh - I know liquid would be a better option, its on the list for  
the future

---

<div class="post-metadata">

**Author:** ![jebw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/77aa72/32.png) [@jebw](https://www.ruby-forum.com/u/jebw)\
**Post date:** [July 30, 2009, 7:04pm UTC](https://www.ruby-forum.com/t/can-i-turn-off-config-action-view-cache-template-loading-in-production/172975/2 "2009-07-30T19:04:04Z")

</div>

Do you understand the performance hit you’ll get once you do that?

- 

Maurício Linhares  
[http://codeshooter.wordpress.com/](http://codeshooter.wordpress.com/) | [http://twitter.com/mauriciojr](http://twitter.com/mauriciojr)

---

<div class="post-metadata">

**Author:** ![jebw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/77aa72/32.png) [@jebw](https://www.ruby-forum.com/u/jebw)\
**Post date:** [July 30, 2009, 9:35pm UTC](https://www.ruby-forum.com/t/can-i-turn-off-config-action-view-cache-template-loading-in-production/172975/3 "2009-07-30T21:35:42Z")

</div>

No - not really. How significant would it be?

I know this has only become a problem since the app got upgraded to  
2.2 - prior to that we must not have been caching the templates  
anyway.

jebw

2009/7/30 Maurício Linhares [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
