# Problems with caching (i think)

**URL:** <https://www.ruby-forum.com/t/problems-with-caching-i-think/93004>\
**Category:** Rails\
**Created:** [April 26, 2007, 2:42pm UTC](https://www.ruby-forum.com/t/problems-with-caching-i-think/93004 "2007-04-26T14:42:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [April 26, 2007, 2:42pm UTC](https://www.ruby-forum.com/t/problems-with-caching-i-think/93004/1 "2007-04-26T14:42:28Z")

</div>

I’m trying to do some changes in the views, but the final result (page  
requests) doesn’t show my changes.

I’ve commented the caches\_page lines, but i still can get my changes,  
what could be the problem?

---

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [April 26, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/problems-with-caching-i-think/93004/2 "2007-04-26T16:34:46Z")

</div>

> I’m trying to do some changes in the views, but the final result (page  
> requests) doesn’t show my changes.
> 
> I’ve commented the caches\_page lines, but i still can get my changes,  
> what could be the problem?

If you are in production then on first request Rails is going to write  
out  
the page to disk in (by default) your public directory.

You need to go remove that file first before trying to reload it.

That would be my guess anyway.

---

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [April 26, 2007, 10:24pm UTC](https://www.ruby-forum.com/t/problems-with-caching-i-think/93004/3 "2007-04-26T22:24:31Z")

</div>

That’s the problem,i’m working on the development environment, i  
really couldn’t figure out what’s going on.

---

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [April 26, 2007, 11:52pm UTC](https://www.ruby-forum.com/t/problems-with-caching-i-think/93004/4 "2007-04-26T23:52:43Z")

</div>

> > You need to go remove that file first before trying to reload it.
> > 
> > That would be my guess anyway.
> 
> That’s the problem,i’m working on the development environment, i  
> really couldn’t figure out what’s going on.

Any chance that file exists anyway?

---

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [April 29, 2007, 5:23am UTC](https://www.ruby-forum.com/t/problems-with-caching-i-think/93004/5 "2007-04-29T05:23:12Z")

</div>

which file?  
i still couldn’t figure out why my pages aren’t getting changed,  
caches\_page is off, and it’s still the same.
