how do you control the cache stuff?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
izzysanime

how do you control the cache stuff?

Post 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.
Last edited by izzysanime on Wed Oct 04, 2006 2:12 am, edited 1 time in total.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: how do you control the cache stuff?

Post 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?
izzysanime

Re: how do you control the cache stuff?

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: how do you control the cache stuff?

Post by calguy1000 »

Yes, if you're changing the database directly you need to do that.  We don't recommend changing the database directly though.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
izzysanime

Re: how do you control the cache stuff?

Post by izzysanime »

oooo, how come?  It is soo much faster and easier .
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: how do you control the cache stuff?

Post 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,
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”