Page 1 of 1
how do you control the cache stuff?
Posted: Tue Oct 03, 2006 11:46 pm
by izzysanime
Hey,
Im trying to modify stuff, like the CSS and templates, even when I apply it to the DB, it still stays the same as before. I do the Shift then refresh thing. The admin pages, show the changes in the template.
Re: how do you control the cache stuff?
Posted: Wed Oct 04, 2006 9:31 am
by Dee
Hmm, that's not how it should work. Changes are effective here immediately and I'm behind a proxy even.
Maybe try to empty the cache from the admin and check permissions on the tmp/templates_c and tmp/cache directories?
Re: how do you control the cache stuff?
Posted: Fri Dec 15, 2006 10:53 pm
by izzysanime
hmm, sorry i didn't reply earlier, i thought this may help for future people.
When you change the content in your database. You need to also change the "modified date" as well, before it changes.
does that make sense to you guys?
thanks
Josh
Re: how do you control the cache stuff?
Posted: Fri Dec 15, 2006 10:55 pm
by calguy1000
Yes, if you're changing the database directly you need to do that. We don't recommend changing the database directly though.
Re: how do you control the cache stuff?
Posted: Fri Dec 15, 2006 11:02 pm
by izzysanime
oooo, how come? It is soo much faster and easier .
Re: how do you control the cache stuff?
Posted: Fri Dec 15, 2006 11:24 pm
by calguy1000
Well, the first reason is because of the modified_date stuff.
The second reason is things like the search index, and anything else that may trigger on content changes don't get 'triggered'. resulting in alot of other 'cleanup' tasks that you've gotta do.
At the moment there's only one (search indexing). but with the 1.1 series, there'll be some archiving that goes on whenever content is changed so that previous versions can be retrieved,