How Often should I clear the Cache?

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.
Post Reply
RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

How Often should I clear the Cache?

Post by RyanC »

Hi, I just had a mini heart attack, someone told me the site wasn't working, my menu manager was missing, and when I went into the admin all the pages were gone. My templates and style sheets were there.

The first thing I could think of was to clear the cache-and that worked, it fixed the site. But this has never happened before. Why would this happen? I haven't updated or changed the site in over a week.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: How Often should I clear the Cache?

Post by calguy1000 »

In a working site you shouldn't have to manually clear the cache (except for the bug in 1.10.x when installing/upgrading modules).

You should set the system to automatically delete files in the cache that are more than say 20 or 30 days old so that old cruft (like captcha images) and module uploads and other temporary files) don't clutter up a working system.

Other than that... there is not enough information to be able to help you.
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.
RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

Re: How Often should I clear the Cache?

Post by RyanC »

Ok, thanks calguy. I wish I could explain more what happened, hopefully it won't come up again. I took your suggestion and entered 30 days under remove cache files.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How Often should I clear the Cache?

Post by Dr.CSS »

Are you sure your host didn't do some upgrades on server, move up to PHP 5.3 or?...
RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

Re: How Often should I clear the Cache?

Post by RyanC »

Hi Dr. CSS, I don't know. It's Godaddy. It's never happened before... I made sure to do a complete backup immediately though.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How Often should I clear the Cache?

Post by Dr.CSS »

Look in system info page in admin, to see if the PHP is one of the latest versions, if so you may need to add the time zone to the config.php...

Personally I would never use goduddy for a host, imho...
RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

Re: How Often should I clear the Cache?

Post by RyanC »

Hi, It says version 5.2.17.

I didn't want to use GoDaddy but that's the service the company has.
Post Reply

Return to “CMSMS Core”