C
C
coderisimo2015-12-01 00:31:40
Apache HTTP Server
coderisimo, 2015-12-01 00:31:40

How to speed up a site on prestashop using CDN?

There is such a scary page - www.kiddies-kingdom.com/47-pushchairs-strollers-buggies prestashop
site. It takes quite a lot of time while the server is thinking creating the page, 2-4 seconds.
For images, js, this resource uses cdn ( https://www.maxcdn.com).
And now two questions:
1) I see that the content from the cdn is compressed with gzip, and the page itself is served from the original (own) server and it is not compressed (without gzip). The guys from maxcdn themselves advise disabling Apache Optimization in the pres. So, if I turn off Apache Optimization and try to set compression in htacess, it will not work?
2) and you can somehow use cdn not only to return js , jpg and css , but also cache the page itself there (which is now being served from the main server). Is this 'it' or not? https://www.maxcdn.com/one/tutorial/how-to-create-... Although it seems to me that in this case caching is possible only on the main server, using prestashop (but there, as I understand it, everything is not very easy to configure , I'm talking about memcached).
Is there another option to enable ngnix paired with Apache, will it be able to cache pages?
I apologize for the confusion. Need a working quick solution. It is now impossible to shovel the store code, analyze database queries, but it is required to speed up. So I thought about caching. I would be grateful for any constructive advice.
I'm not a magician, but I'm just learning)
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Ilyasov, 2015-12-03
@coderisimo

1) Make backups and check.
2) Memcached is usually configured by the hosting provider. You just have to enable the setting.
I don’t understand why you need a CDN and other garbage. All you need is good hosting, enable cache, enable memcached setting. If you really want to, enable js and css compression. So you can manually compress the images in bulk, and replace the ones that are with those with less weight if you do not update them often (I do). This is more than enough to load the page in a split second.
And what about CDN, it is far from a fact that the ping from them will be less than from your server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question