M
M
Mikhail Bazhenov2014-03-20 07:02:32
PHP
Mikhail Bazhenov, 2014-03-20 07:02:32

OpenCart page caching - what is the best way to do it?

Hello!
I ran into a problem, opencart is eating up all the resources. And in order to make life easier for the server, I got into the source to look for the possibility of caching pages.
Templates are rendered in chunks, and you won't be able to cache the entire page. And in order to put the entire page in the cache, you need to configure apache.
But I have nginx+php5-fpm.
Maybe there are other ways?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
maxic, 2014-03-20
@maxic

You just need to turn off the count of products in categories - and the site flies, even on more than 10,000 products.
I have already done it more than a dozen times - the result, before optimization, loading is 5-10 seconds, after 0.5-1 second

S
sivabur, 2015-06-05
@sivabur

Memkeshesh in the configuration mood and you will be happy.
Add indexes.
Turn off the display of the number of goods.

F
freddy, 2014-03-20
@mfred

As far as I remember, earlier in opencart there were no problems with caching, but sometimes there were problems with clearing the cache.
Maybe the developer turned it off during development, but forgot to turn it on? and specify the version.
Are the directory permissions correct?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question