Why do you think that OC is slow and that it is not related to your server?
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Original template, server config, amount of categories/products?
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Is anyone know how to modify the files so that we can use gzip to compress the resourses below to reduce the load time of the site.These are the resources we want to compress:
/catalog/view/javascript/jquery/jquery-1.3.2.min.js
/catalog/view/javascript/jquery/tab.js
/catalog/view/javascript/jquery/thickbox/thickbox-compressed.js
/catalog/view/javascript/jquery/thickbox/thickbox.css
/catalog/view/theme/default/stylesheet/stylesheet.css
And these two pictures are the same, can we set the files so it only call one? I think this is good for the load time of the site.
catalog/view/theme/default/image/icon_special.png
catalog/view/theme/default/image/icon_bestseller
Thanks for help!!
/catalog/view/javascript/jquery/jquery-1.3.2.min.js
/catalog/view/javascript/jquery/tab.js
/catalog/view/javascript/jquery/thickbox/thickbox-compressed.js
/catalog/view/javascript/jquery/thickbox/thickbox.css
/catalog/view/theme/default/stylesheet/stylesheet.css
And these two pictures are the same, can we set the files so it only call one? I think this is good for the load time of the site.
catalog/view/theme/default/image/icon_special.png
catalog/view/theme/default/image/icon_bestseller
Thanks for help!!
Add Apache Module mod_deflate on your server and control what file extensions you want compressed via htaccess.
add this to your htaccess after the module has been installed.
add this to your htaccess after the module has been installed.
Code: Select all
# compress all text & html:
AddOutputFilterByType DEFLATE text/html text/plain text/xml
# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>
<FilesMatch "\.(php|html|css|js)$">
SetOutputFilter DEFLATE
</FilesMatch>
Who is online
Users browsing this forum: Semrush [Bot] and 45 guests