caroled01 Posted September 12, 2018 Share Posted September 12, 2018 (edited) Hello, I have install version 1.7.4.2 on which there is a very long loading time.. The analyze on GTmetrix shows that : "Defer parsing of Javascript". But I can't find anywhere how to fix it. Is someone have an idea ? This is a printscreen : http://prntscr.com/ktet6h Thank you very much for your help. Edited September 12, 2018 by caroled01 (see edit history) Link to comment Share on other sites More sharing options...
nicoX Posted September 19, 2018 Share Posted September 19, 2018 That's not a big deal. You don't have to do anything about that. Are you on a shared hosting? Maybe the hardware is not the best. If you describe more I might be able to help you. 1 Link to comment Share on other sites More sharing options...
caroled01 Posted September 24, 2018 Author Share Posted September 24, 2018 Hi, Thank you for your answer ! I'm not on a shared hosting. I have a dedicated server. I have my actual site (in version 1.6.1.6 on the same server and it's not slow. What kind of information would you need ? Link to comment Share on other sites More sharing options...
nicoX Posted September 24, 2018 Share Posted September 24, 2018 (edited) What's the URL of your 1.7 site. I'm doing the test with the URL in your printscreen and it loads fine. Edited September 24, 2018 by nicoX (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted September 24, 2018 Share Posted September 24, 2018 (edited) defer refers to .js attribute. aysnc/defer/none when moudle (appl) registers it's .js within PS it can optionally specificy .js attribute. this is new in 1.7....'asset manager'...via webpack/etc developers need to write their .js to support defer and register accordingly, maybe in future we see PS make this a requriement as that is about the only way to get developers to adopt best practice. ==== for slow, most often during build dev disablels smarty cache so updates are reflected without clearing cacahe... (see performance page). happy selling el Edited September 24, 2018 by El Patron spelling (see edit history) Link to comment Share on other sites More sharing options...
PrestaMake Posted September 24, 2018 Share Posted September 24, 2018 (edited) On 12/9/2018 at 5:21 AM, caroled01 said: Hello, I have install version 1.7.4.2 on which there is a very long loading time.. The analyze on GTmetrix shows that : "Defer parsing of Javascript". But I can't find anywhere how to fix it. Is someone have an idea ? This is a printscreen : http://prntscr.com/ktet6h Thank you very much for your help. I am seriously thinking that is your Internet Speed, because your site is super ultra fast!! No jokes, it loaded all pages very quickly for me (I am from South America). Edited September 24, 2018 by Daniuz (see edit history) Link to comment Share on other sites More sharing options...
caroled01 Posted September 26, 2018 Author Share Posted September 26, 2018 Thank you very much for all your answers. The URL of my 1.7 site is www.grispastel.fr/grispastel_1.7.4.2 It's nice to know you find it's loading fast. When I test with google PageSpeed Insights the results are very bad, so I don't know what to think. My actual site in 1.6 (www.grispastel.fr) gives good results with google page speed. Link to comment Share on other sites More sharing options...
nicoX Posted September 27, 2018 Share Posted September 27, 2018 It's fully loaded in 7 seconds. Using "https://gtmetrix.com/reports/www.grispastel.fr/4KkZaktr" I can see you have 301 and 302 move and redirects for http than is taking the initila wait of 1+ second for the site to start loading https://. You should remove those move/redirect to fix that. You can do it in PrestaShop backend or through a .htaccess file. To further improve the caching of your images, you can put your site on Cloudflare. Link to comment Share on other sites More sharing options...
El Patron Posted December 21, 2022 Share Posted December 21, 2022 Hi, sorry for bump but this had not been solved until now. JavaPro Advanced JavaScript Performance Manager for PrestaShop Forum post here From our store here 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