hobbychan Posted June 22, 2016 Share Posted June 22, 2016 Dears, I have a fresh install of the latest prestashop on A2 Hosting (VPS managed plan) + cloudflare plan which I didn't know how to use. At first the website was super fast and I was really happy. I've built the store, installed modules, worked out the theme, everything was smooth. Today I imported 400 customers and their passwords, tweeked a couple of files based on tutorials on the forum to make the old passwords work from my previous presta ( and it worked ) However, after doing that, the website suddenly became slow (only the landing page became slow actually). it used to be 2.3 load time and now it's 4.9. I have Cache Manager module installed, tried several steps from the forum by playing in Advanced > Performance settings. Nothing worked. Here are the results from two page load testing website: https://gtmetrix.com/reports/www.hobbychan.com/xIbETSkO https://tools.pingdom.com/#!/cntyzA/http://www.hobbychan.com One of them says (Serve the following static resources from a domain that doesn't set cookies:) Please bear with me as I'm a really newbie in codes and stuff .. . Any recommendations on what's wrong or what happened? the entire website seems fine, it's just the landing (home page), it takes a while to load compared to other pages and compared to a day earlier. Link to comment Share on other sites More sharing options...
JPresta.com Posted June 22, 2016 Share Posted June 22, 2016 First, go in Performance settings and enable smart cache for JS and CSS. This will reduce the number of HTTP requests and the page weight. Enable option "defer javascript". Then you can enable profiling and show us the result. Link to comment Share on other sites More sharing options...
hobbychan Posted June 23, 2016 Author Share Posted June 23, 2016 First, go in Performance settings and enable smart cache for JS and CSS. This will reduce the number of HTTP requests and the page weight. Enable option "defer javascript". Then you can enable profiling and show us the result. Hello, and thank you for your reply. I have no idea how to (defer javascript). I did enable profiling but for some reason the results only show when I load the backoffice, no results appear in front office. Below are results from BO. Link to comment Share on other sites More sharing options...
roband Posted June 23, 2016 Share Posted June 23, 2016 In your PrestaShop admin, click Advanced Parameters in the left menu, then click Performance, then set as this: SMARTY Template compilation: Recompile templates if the files have been updated Cache: Yes CCC (COMBINE, COMPRESS AND CACHE) Smart cache for CSS: Yes Smart cache for JavaScript: Yes Minify HTML: Yes Compress inline JavaScript in HTML: Yes Move JavaScript to the end: Yes Apache Optimization: Yes Remember to click the "Save" button after you make these changes Finally click the "Clear cache" button near the top right of the same page Now run your tests again Link to comment Share on other sites More sharing options...
JPresta.com Posted June 23, 2016 Share Posted June 23, 2016 Hello, and thank you for your reply. I have no idea how to (defer javascript). I did enable profiling but for some reason the results only show when I load the backoffice, no results appear in front office. Below are results from BO. It should work, there is probably a problem here. To improve FO we need stats from FO. 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