dinopacha Posted January 28, 2016 Posted January 28, 2016 I want to use cache but have some question about it. In admin/tools/cache control I see the following files.categories boxmanufactures boxalso purchased module Now my question is: does it stores only these 3 boxes. I don't use the left or right box on my site, so does the cache work on the rest of my site??? or do I have to make self files in the folder works. at least do I have to empty the cache directory occasionally :mellow:
Jack_mcs Posted January 28, 2016 Posted January 28, 2016 It only works on code that is designed to use it. For example, look in the bm_manufacturer file and you see the code to call the cache. In application_top, there are "expire" calls that remove old cache entries so you don't need to do anything about that. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
dinopacha Posted January 28, 2016 Author Posted January 28, 2016 @Jack_mcs sorry but I do not quite understand, it's a little complicated. I do not use leftbox or rightbox.For example, I use category from (tsimi Lambros) Do I still need the categories_box-english.cacheor do I need something else.
Jack_mcs Posted January 28, 2016 Posted January 28, 2016 The code has to be added by what you have installed. The BS version doesn't use the cache function for categories, as I recall. If the category menu, or whatever it is, that you are using doesn't call that function, then it isn't using the cache code, unless it added its own. You can delete the cache files and then click around your shop. If the cache file reappears, then something is set up to use cache. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
dinopacha Posted January 28, 2016 Author Posted January 28, 2016 @Jack_mcsSo if I understand correctly all happens automaticly in bootstrap, and no need for me to do anything but push the use cache button in admin on true.
Jack_mcs Posted January 28, 2016 Posted January 28, 2016 No, it depends on the code. Both the manufacturers box and also purchased code use cache, if it is enabled. There are other addons that use it and you may install those are some point. Enabling cache doesn't hurt anything. If the code doesn't use it then it doesn't do anything. But the also purchased code is included in all shops, as I recall, and that gets called every time a product page is loaded so, over time, having cache enabled does help. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
dinopacha Posted January 28, 2016 Author Posted January 28, 2016 @@Jack_mcs Ok, now It's clear to me. Finally, One thing would like to know. you say before: look in the bm_manufacturer file and you see the code to call the cache. But when I look into that file I see nowhere manufacturer_box-english.cache
Jack_mcs Posted January 29, 2016 Posted January 29, 2016 I assumed you are using the BS version, which has the following line. Maybe it's not in whatever box you are using. $output = tep_cache_manufacturers_box(); Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
♥14steve14 Posted January 29, 2016 Posted January 29, 2016 The code is the same in the non bootstrap latest version of the manufacturers box. REMEMBER BACKUP, BACKUP AND BACKUP
dinopacha Posted January 29, 2016 Author Posted January 29, 2016 @Jack_mcs Now I get it. I was looking in the wrong files. Thank you very much Jack for your clear explanations. :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.