Guest Posted May 16, 2009 Posted May 16, 2009 so I've been having problems with my categories list not holding my customized categories. I changed the categories list in the admin panel and on opening my site I would see the edited list, but upon clicking ANY link or navbar button the categories list would default back to the template categories list. I finally found at least part of the problem...it appears to be the "use cache" option in the admin panel. if I set it to false the site will hold my list through site navigation, if set to true it will revert back to default template list. so my questions are 1. How important is it to use the cache? 2. am I better off with it and need to find another solution to the list problem? 3. or am I perfectly safe disabling the cache? 4. will disabling it slow down the site to a noticeable difference to my customers? edit... I read here in the forums or KB that it is recommended to NOT use the default /tmp/ directory for the cache. I think this might be good advice so I would like to try it. it seems that moving the cache directory from /tmp/ will also solve the categories list problem. so if I change the directory can I just create a folder named "c" in the htdocs folder and denote the directory as /c/ in the admin panel. just want to be sure that "/c/" in the cache directry option in admin panel will point to htdocs/c, I think so because I was told that '/' in configure.php refers to the root directory which in my case is htdocs. thank you.
♥FWR Media Posted May 16, 2009 Posted May 16, 2009 so I've been having problems with my categories list not holding my customized categories. I changed the categories list in the admin panel and on opening my site I would see the edited list, but upon clicking ANY link or navbar button the categories list would default back to the template categories list. I finally found at least part of the problem...it appears to be the "use cache" option in the admin panel. if I set it to false the site will hold my list through site navigation, if set to true it will revert back to default template list. so my questions are 1. How important is it to use the cache? 2. am I better off with it and need to find another solution to the list problem? 3. or am I perfectly safe disabling the cache? 4. will disabling it slow down the site to a noticeable difference to my customers? thank you. You have to clear the cache whenever you add new categories .. or .. by its very nature it will serve "cached results" The cache is not very good as it only functions when customers are not logged in .. better than nothing if you have lots of categories. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
Guest Posted May 16, 2009 Posted May 16, 2009 You have to clear the cache whenever you add new categories .. or .. by its very nature it will serve "cached results" ok, that makes sence. where and how do I clear it?
BryceJr Posted May 16, 2009 Posted May 16, 2009 ok, that makes sence.where and how do I clear it? You have the right idea in your original post. To be able to clear your cache, you'll need to have a local cache in your webspace not the shared server space such as /tmp/. Create a folder in root and give it a name, call it "store_cache" or whatever you prefer and give it a 755 permission. In your osc admin panel, configuration>>cache: 1. enable cache << set to true 2. cache directory >> full path -- It should look something like this /home/content/a/b/htdocs/store_cache/ Three files will be created when you set up your cache. To reset your cache >>Tools--Cache control You'll see three files. Each of them has the "recycle symbol/logo" , a small triangle -- click that You can also FTP to your site and look for the store_cache folder and delete the contents of that folder. New cache files will be recreated.
Guest Posted May 17, 2009 Posted May 17, 2009 You have the right idea in your original post. To be able to clear your cache, you'll need to have a local cache in your webspace not the shared server space such as /tmp/. Create a folder in root and give it a name, call it "store_cache" or whatever you prefer and give it a 755 permission. In your osc admin panel, configuration>>cache: 1. enable cache << set to true 2. cache directory >> full path -- It should look something like this /home/content/a/b/htdocs/store_cache/ Three files will be created when you set up your cache. To reset your cache >>Tools--Cache control You'll see three files. Each of them has the "recycle symbol/logo" , a small triangle -- click that You can also FTP to your site and look for the store_cache folder and delete the contents of that folder. New cache files will be recreated. Much appreciated guys. you rock
Guest Posted May 17, 2009 Posted May 17, 2009 ok one more when it creates the cache files should it be putting them on the ftp? at first I did not have any files on the ftp nor in the osc admin panel. in the admin panel>> cache control I had the message "file does not exist" for all three files. after clicking around the site, the categories box and manufacturers box files were created in the admin panel>>cache control. (assuming the "also purchased module" file will not be created until a purchase is made.) however I still have no files in the FTP store_cache directory. cache directory is /home/web02/b/domain_name.com/user/htdocs/store_cache this is the directory shown in Wise-FTP just wondering if this is correct or if I am missing something.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.