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
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
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
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
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/
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
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?
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. [email protected]
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. [email protected]
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.
Well that was kind of a dumb question they are cache files they will
just
get recreated.
–Tom
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.
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
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)
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
I don’t appear to have those, no. Update to trunk, you’re meaning via
svn?
Thanks again!
BT
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)
Thanks a lot! I guess I should read the earlier emails better
It did
work however, so I so thank you all.
BT