New Topic Reply
Next Page

Page: 1

Previous Page

Thread: Previouse Resources Not Saving

Created on: 07/27/10 12:05 PM

Replies: 6

cnutter





Joined: 06/21/10

Posts: 9

Previouse Resources Not Saving
07/27/10 12:05 PM

I am about to release a new website for a major client. And it appears when I create a new resource I can then go back into the resource and change/save the content and those changes appear. But the next day if I try to go into a resource and change the content all it shows is the old content not the changes that I made. I really need a solution to this ASAP.

Thanks,

Christopher Nutter
Director of Operations
Drive Digital Media

Link | Top | Bottom

admin





Joined: 01/29/05

Posts: 52

RE: Previouse Resources Not Saving
07/27/10 12:19 PM

ok, there could be a number of things depending on how you have setup the website; but the first thing that comes to my mind is that resources are cached on the front end, so that could explain why you see the old content.
Caching is controlled on the config page, there you can set the length in minutes and the number of resources to cache.
Also, you can refresh the cache manually either by reinitializing the application (not coldbricks, but the website) using resetapp=1 on the URL
Additionally, you can use the SiteMonitor plugin to see all cached items and remove the stale ones individually, or force a reap of the cache. You can download the SiteMonitor plugin from the coldbricks website.
Finally if you are modifying the resources outside of ColdBricks (for example with your own application) then there are methods that you can call that will force a reload of specific packages of resources.
I hope this helps somewhat to pinpoint the problem.
Let me know if you have any questions or need further help

Oscar

Link | Top | Bottom

cnutter





Joined: 06/21/10

Posts: 9

RE: Previouse Resources Not Saving
07/27/10 2:22 PM

I love the misspelling of the title btw.

Ok you are correct it is a caching issue. But I could not change the TTL to zero in the configuration panel so I placed the TTL to 1 min. That seems to work is there a way to set the TTL to zero?

Thanks,

Christopher Nutter
Director of Operations
Drive Digital Media

Link | Top | Bottom

admin





Joined: 01/29/05

Posts: 52

RE: Previouse Resources Not Saving
07/27/10 3:14 PM

0 would mean the opposite, a "never-ending" cache; what you can do is use -1 as the TTL and that should always force a re-read of the resource instead of using a cached copy

Link | Top | Bottom

admin





Joined: 01/29/05

Posts: 52

RE: Previouse Resources Not Saving
07/27/10 3:16 PM

FYI if you want to go around the form validation on any setting you can always edit the XML file directly in the Settings module; you would need to read up on the HomePortals docs about what each setting does, but its there in case you need it.

Link | Top | Bottom

cnutter





Joined: 06/21/10

Posts: 9

RE: Previouse Resources Not Saving
07/27/10 4:29 PM

Thanks for the quick response working well now.

Thanks,

Christopher Nutter
Director of Operations
Drive Digital Media

Link | Top | Bottom

admin





Joined: 01/29/05

Posts: 52

RE: Previouse Resources Not Saving
07/27/10 4:33 PM

glad to hear that, hope everything goes well with the website launch!

Link | Top | Bottom

New Topic Reply
Next Page

Page: 1

Previous Page

New Post

Please login to post a response.