# Issue with page updating since 0.6.4

**URL:** <https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890>\
**Category:** Radiant CMS\
**Created:** [November 21, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890 "2007-11-21T14:38:49Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 21, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/1 "2007-11-21T14:38:49Z")

</div>

Hello there all!

Ever since I upgraded to 0.6.4, I’ve noticed a bit of a trend with this  
version. Ever since I have upgraded, I have found that when I make a  
post to my site, it doesn’t immediately process itself onto pages it  
resides on, even when I do a Clear Cache. It can take sometimes up to 5  
minutes before it will populate all the pages. I’ve tried different  
browsers, different computers, as well as clearing my browser’s cache,  
restarting the browser and so forth. The actual page does render when I  
manually go to it, but nothing else seems to appear. I’m not sure where  
this issue is, but it is a bit irritating at best; It certainly throws  
things for a loop when I’m trying to throw up a post right before work  
or on a tight schedule. Does anyone have any ideas?

Thanks!  
BT

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 21, 2007, 3:59pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/2 "2007-11-21T15:59:22Z")

</div>

Same problem here. I’ve found that you have to save the parent page  
before  
any changes in the children (or snippets) show up.  
–Tom

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 21, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/3 "2007-11-21T17:00:56Z")

</div>

Are you speaking of children that are displayed (by link or inclusion  
or something) within a parent page? If so, clearing the parent has  
never been a feature. Otherwise, give me a workflow that reproduces  
the problem and we’ll see what we can do.

Sean

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 21, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/4 "2007-11-21T17:43:10Z")

</div>

Well maybe it has always been this way I’m pretty new to radiant.  
Workflow for me:  
Home Page

> Article
> 
> > First Post Change Something Here  
> > That change doesn’t show up for me until after I save Home Page.

Could be a different Issue than Andrews if it is sorry for the  
confusion.  
–Tom

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 21, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/5 "2007-11-21T18:00:43Z")

</div>

Hi Andrew,

I have seen and reported the same thing here. No response so far…

Regards,  
Erik.

Andrew K. wrote:

> Ever since I have upgraded, I have found that when I make a  
> post to my site, it doesn’t immediately process itself onto pages it  
> resides on, even when I do a Clear Cache…

–  
Erik van Oosten  
[http://2008.rubyenrails.nl/](http://2008.rubyenrails.nl/)

> **[Day to day stuff](http://day-to-day-stuff.blogspot.com/)**
>
> Experiences from a hard core JVM programmer. Likes to keep things simple.

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 21, 2007, 11:29pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/6 "2007-11-21T23:29:32Z")

</div>

> I think I can agree with this. It has almost become second nature to  
> change the home page to reset the cache. I have noticed this with  
> changing snippets (which should clear cache - I had asked  
> this earlier)  
> and then clearing the cache. No go! It doesn’t update the home page.

Well the code is fairly straightforward. The only thing that I can  
think of that might interrupt it would be file permissions in the  
cache dir.

When you click clear cache, is there anything left in your cache  
directory?

What about if you run (as the same user your server runs as):

ruby script/console  
ResponseCache.instance.clear

What if you run that again as a different user?

Dan

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 21, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/7 "2007-11-21T18:51:47Z")

</div>

Erik van Oosten wrote:

> > Ever since I have upgraded, I have found that when I make a  
> > post to my site, it doesn’t immediately process itself onto pages it  
> > resides on, even when I do a Clear Cache…

I think I can agree with this. It has almost become second nature to  
change the home page to reset the cache. I have noticed this with  
changing snippets (which should clear cache - I had asked this earlier)  
and then clearing the cache. No go! It doesn’t update the home page.

Then, I go to the home page and do a save! and voila - everything is  
updated as it should be.

Sean, is there something we can check to help with analyzing this?

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 22, 2007, 12:25am UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/8 "2007-11-22T00:25:10Z")

</div>

My cache dir is empty after running “Clear Cache”.  
Should the cache.data and cache.yml files have a new time or get deleted  
too?  
–Tom

On Nov 21, 2007 3:21 PM, Daniel S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 22, 2007, 1:28am UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/9 "2007-11-22T01:28:55Z")

</div>

Should I delete them? I used the gem install so I guess that I will have  
to  
wait or is there an easy way to upgrade to the trunk?  
–Tom

On Nov 21, 2007 4:33 PM, Daniel S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 22, 2007, 12:41am UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/10 "2007-11-22T00:41:35Z")

</div>

> My cache dir is empty after running “Clear Cache”.  
> Should the cache.data and cache.yml files have a new time or  
> get deleted  
> too?

Ah! Yes, they should be deleted - in fact they shouldn’t be created.

This was recently fixed on the trunk.

Dan.

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 22, 2007, 1:35am UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/11 "2007-11-22T01:35:56Z")

</div>

Well that was kind of a dumb question they are cache files they will  
just  
get recreated.  
–Tom

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 22, 2007, 3:16am UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/12 "2007-11-22T03:16:27Z")

</div>

> Should I delete them? I used the gem install so I guess that  
> I will have to  
> wait or is there an easy way to upgrade to the trunk?  
> –Tom

You can update to the trunk with

rake radiant:freeze:edge

Once it is fixed in the stable build, you can run:

rake radiant:unfreeze

To go back to using the gem.

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 23, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/13 "2007-11-23T18:05:13Z")

</div>

Do you have a cache.data and a cache.yml in your radiant install.  
I did and I had to upgrade to the trunk. Everything works smoothly now.  
–Tom

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 23, 2007, 2:37pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/14 "2007-11-23T14:37:00Z")

</div>

Sorry about the delay in responding; Life’s been kicking me in the butt.

When I click clear cache, it clears everything in the cache directory,  
but even with the cache directory gone, even if I force-refresh, I get  
the same page back again and won’t update for a few minutes. The files  
do rebuild themselves. I’m not sure what the apparent issue is at all; I  
didn’t have this issue before. One thought that did cross my mind was  
what if the caching headers aren’t being written correctly for some  
reason anymore? (IE:- what the browser sees) This issue only appeared in  
0.6.4, so I’m not sure where it did come from, but it is a reasonable  
issue I would say.

Thanks!  
BT  
(PS I’ll try to be a little more responsive)

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 24, 2007, 6:22am UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/15 "2007-11-24T06:22:48Z")

</div>

Yep.

Daniel wrote:  
You can update to the trunk with

rake radiant:freeze:edge

Once it is fixed in the stable build, you can run:

rake radiant:unfreeze

To go back to using the gem.  
–Tom

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 24, 2007, 2:06am UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/16 "2007-11-24T02:06:44Z")

</div>

I don’t appear to have those, no. Update to trunk, you’re meaning via  
svn?

Thanks again!  
BT

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 28, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/17 "2007-11-28T14:55:58Z")

</div>

After using the edge install of Radiant, it seems that I still  
occasionally get the issue mentioned previously. For some reason, even  
after I clear the cache, it still seems to take up to 5 minutes  
(randomly, it doesn’t always do it, but does still occasionally) to  
update some pages. It doesn’t always do it (It’s done it twice out of  
five posts) but does still crop up. As someone else mentioned, the  
quickest way to fix it is to open the pages that are giving grief  
updating and simply re-save the page and it fixes itself immediately.  
Any ideas?

Thanks again!  
Andrew (BT)

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [November 24, 2007, 2:23pm UTC](https://www.ruby-forum.com/t/issue-with-page-updating-since-0-6-4/120890/18 "2007-11-24T14:23:11Z")

</div>

Thanks a lot! I guess I should read the earlier emails better 😃 It did  
work however, so I so thank you all.  
BT
