HaCos Posted November 4, 2014 Share Posted November 4, 2014 Hello, i just starting opmizing my shop. I started with the default settings about setting the correct option in BO => Performance but thats not enought.. So i started digging in debuging mode.. I figured that in order to render a category view, more than 800queries are required. As for product view.. 792 queries .. Arent they tooo much ? thats a default prestashop setup or am i doing something wrong? Link to comment Share on other sites More sharing options...
JPresta.com Posted November 4, 2014 Share Posted November 4, 2014 Some modules are not optimised at all... You should also enable profiling in /config/defines.inc.php to see where it spends most time. Link to comment Share on other sites More sharing options...
HaCos Posted November 4, 2014 Author Share Posted November 4, 2014 On 11/4/2014 at 10:57 AM, joemartin said: Some modules are not optimised at all... You should also enable profiling in /config/defines.inc.php to see where it spends most time. Hi joemartin, thank for your reply. I am looking on it right now.. Here is a screenshot I started by trying to figure what makes displayHeader to process so much data.. i went to BO and on displayHeader hook there are 4-5 modules loaded like theme configuration (this is required is order page to be rendered correctly.. Any hints? Link to comment Share on other sites More sharing options...
JPresta.com Posted November 4, 2014 Share Posted November 4, 2014 On 11/4/2014 at 11:05 AM, HaCos said: Any hints? What is the URL of your site? Link to comment Share on other sites More sharing options...
HaCos Posted November 4, 2014 Author Share Posted November 4, 2014 I am testing the caching options.. First File System and now apc (any idea how i can estimate how much ram i need to set up in apc?) I am stacked with the logic of cache.. While i had File System cache enabled in localhost testing, i mentioned that the files in /cache/cachefs are multiplied on every refresh i make on the site no matter if its the same page or not. Since there arent any changes in that product page why do the number of files in the cache is getting bigger? And if new files are generated for the last cached version, why the previous ones are not deleted? Is this the cache logic? Same logic is working with apc or memcache? On 11/4/2014 at 1:17 PM, joemartin said: What is the URL of your site? I just send you a pm. Link to comment Share on other sites More sharing options...
JPresta.com Posted November 5, 2014 Share Posted November 5, 2014 On 11/4/2014 at 8:17 PM, HaCos said: I am testing the caching options.. First File System and now apc (any idea how i can estimate how much ram i need to set up in apc?) I am stacked with the logic of cache.. While i had File System cache enabled in localhost testing, i mentioned that the files in /cache/cachefs are multiplied on every refresh i make on the site no matter if its the same page or not. Since there arent any changes in that product page why do the number of files in the cache is getting bigger? And if new files are generated for the last cached version, why the previous ones are not deleted? Is this the cache logic? Same logic is working with apc or memcache? I just send you a pm. I don't know how this cache is working, this is a PHP code cache. Link to comment Share on other sites More sharing options...
JPresta.com Posted November 5, 2014 Share Posted November 5, 2014 On 11/4/2014 at 8:17 PM, HaCos said: I just send you a pm. I did not receive it :-( Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now