# Reloading page fails by browser-cache (development)

**URL:** <https://www.ruby-forum.com/t/reloading-page-fails-by-browser-cache-development/180197>\
**Category:** Rails\
**Created:** [December 14, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/reloading-page-fails-by-browser-cache-development/180197 "2009-12-14T15:05:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![coldie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5f9b8f/32.png) [@coldie](https://www.ruby-forum.com/u/coldie)\
**Post date:** [December 14, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/reloading-page-fails-by-browser-cache-development/180197/1 "2009-12-14T15:05:41Z")

</div>

Hi there,

i’m new to Rails 2.3.4 (always used 2.0.2) but i mentioned there are a  
few changes in relation to the environment.  
If I check the ‘RAILS\_ENV’, ‘development’ is displayed.  
I always thought, that caching is disabled and I don’t have to restart  
my APACHE2-SERVER after every change in the code.

If i run my application and try to refresh it, the browser reloads - but  
nothing happens. (If I start the app on Webrick Localhost, everything is  
fine)

Can someone give me a hint?

Thanks 'till now.  
Hans

---

<div class="post-metadata">

**Author:** ![coldie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5f9b8f/32.png) [@coldie](https://www.ruby-forum.com/u/coldie)\
**Post date:** [December 14, 2009, 3:10pm UTC](https://www.ruby-forum.com/t/reloading-page-fails-by-browser-cache-development/180197/2 "2009-12-14T15:10:29Z")

</div>

Ahhh…

i didn’t worked it right. If i launch my application via apache2, my  
RAILS\_ENV is show as ‘production’.

How can I change this? There is no variable left in the code.
