Speed Up OpenCart Store

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeSpeed Up OpenCart Store

This topic has been marked as not resolved.

Hi guys, is there any way to speed up my opencart store (1.5.3.1) without using those cache modules? I have a dedicated server with fairly good specs (16 GB RAM, 2.93 GHz), but my site is still pretty slow. I have just about 1,000 products with not that many categories, and my images are all around 200-500 kbs at most. If anyone has any suggestions, feel free to respond so others can know as well! Thank you in advance :)

August 11, 2012 at 12:42 pm #12341

you can analyst your website speed here and see what is the major problem causing site slow
https://developers.google.com/speed/pagespeed/insights

I share what I done to increase speed:

1) use photoshop change my pic to small file size at “save for web and devices” , u could use image processor script at photoshop to do batch convert, but I advice you do backup for all your original picture before u convert.

2) add this at your .htaccess, if u couldn’t found this at public html, please set view hidden files at file manager inside cpanel.


# 1 YEAR
<FilesMatch "\.(ico|pdf|flv)$">
Header set Cache-Control "max-age=29030400, public"
</FilesMatch>
# 1 WEEK
<FilesMatch "\.(jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
# 2 DAYS
<FilesMatch "\.(xml|txt|css|js)$">
Header set Cache-Control "max-age=172800, proxy-revalidate"
</FilesMatch>
# 1 MIN
<FilesMatch "\.(html|htm|php)$">
Header set Cache-Control "max-age=60, private, proxy-revalidate"
</FilesMatch>

  • This reply was modified 4269 days ago by  manmancai.
  • This reply was modified 4269 days ago by  manmancai.
August 11, 2012 at 4:08 pm #12346

3) change image domain, add one sub domain, example image.yoursite.com
then u go to edit config.php at public html and also config.php at admin folder.
depend on your site using http or https, but u can change both to below example domain.

define('HTTP_IMAGE', 'http://image.yoursite.com/');

define('HTTPS_IMAGE', 'http://image.yoursite.com/');

4) compress your site, go to opencart admin page, system>setting>server>Output Compression Level: (I use 4, you can try other number to see what is the different)

5) go to hosting cpanel > softwares & services > Optimize Website > select Content compression: Enabled for all content

you are using dedicated server, I don’t know method that I shared will help or not, but I hope this can help other opencart user website move faster little bit :)
if there is other trick to increase site performance, please share at here also.

  • This reply was modified 4269 days ago by  manmancai.
  • This reply was modified 4269 days ago by  manmancai.
  • This reply was modified 4269 days ago by  manmancai.
August 11, 2012 at 4:18 pm #12349

Thank you @manmancai!

August 11, 2012 at 10:52 pm #12358

@brotsky

Can we have a look at your website?

Thanks,
ThemeBurn team

August 15, 2012 at 3:37 pm #12513
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.