Opencart Performance Problem

Opencart has performance issues and takes a while to load when the number of categories is large, I currently have 250+ categories and about 5,000 products . will anyone help ...

+4
source share
2 answers

Have you tried any of the removal of the category list ? This seems to be the answer to most. if not, then you need a page cache mode . Note that you will need vQmod to use both of these

+7
source

Check your page at http://gtmetrix.com Reduce the image size and check the quality you need. Check your .htaccess for expireheaders on images and script. Add last to file:

#Expire Header <FilesMatch "\.(js|css|swf)$"> ExpiresDefault "access plus 2 week" </FilesMatch> 

or

 # enable expirations ExpiresActive On ExpiresDefault "access plus 1 week" ExpiresByType image/gif "access plus 2 week" ExpiresByType image/png "access plus 2 week" ExpiresByType image/jpeg "access plus 2 week" ExpiresByType image/jpg "access plus 2 week" ExpiresByType image/pjpeg "access plus 2 week" ExpiresByType text/javascript "modification plus 2 week" ExpiresByType application/javascript "modification plus 2 week" ExpiresByType text/css "modification plus 2 week" 
0
source

Source: https://habr.com/ru/post/1396831/


All Articles