Jump to content
caroled01

Site very slow. How to Defer parsing of Javascript ?

Recommended Posts

In the Advanced parameters > Performance, use try this parameters:
Template compilation: Recompile templates if the files have been updated

  • Cache: Yes
  • Debug mode: No
  • Smart cache for CSS: Yes
  • Smart cache for JavaScript: Yes
  • Apache optimization: Yes
  • Use cache: in case you are in a VPS and can use some kind of php cache

 

I must say that, I have not seen yet a PS 1.7 working fast in a shared hosting, regardless of the configuration you have.

Share this post


Link to post
Share on other sites

Thank you for your answer.

I tried all this parameters, but not the last one.

It's always the same.

About Memcached I have a question :

I use a VPS on which Memcached is installed. It seems I have to open a port, that's what I did. But I don't know if I have to open it for input or for output.

So I tried the 2 cases but then I can't select any system of cache in prestashop.

Maybe you can help me with that ?

Thank you very much by advance !

 

Another question, I read that if we open a port on our server it may have security problems. Is it true ?

Share this post


Link to post
Share on other sites
On 9/12/2018 at 3:38 PM, Rolige said:

In the Advanced parameters > Performance, use try this parameters:
Template compilation: Recompile templates if the files have been updated

  • Cache: Yes
  • Debug mode: No
  • Smart cache for CSS: Yes
  • Smart cache for JavaScript: Yes
  • Apache optimization: Yes
  • Use cache: in case you are in a VPS and can use some kind of php cache

 

I must say that, I have not seen yet a PS 1.7 working fast in a shared hosting, regardless of the configuration you have.

 

Then you havent seen the websites i build and optimize: gtmetrix score 85 / 80 with test server in London and my hosting in Slovenia. :) the website loads under 1 second - and it's on shared hosting, the key is just proper optimisation and template coding. 

And we have over 300 products added with thousands of images.

Edited by arhitekt

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More