That along with other reasons has the website running very slow. I've been checking out OpenCart and like the speed and functionality. What I don't know is if the speed is only there because I haven't moved my data.
Is OpenCart limited to smaller websites? Does anyone here have websites with a lot of products, customers and orders? Do your websites bog down at some point? Would it be unwise for me to move to OpenCart?
it's an easy task for a 'balanced' OC, to handle such. I tested up to ~30K Products,
and did not 'feel' it either.
But as soon as one uses a multi-language Shop, the amount of Product-related DB
Content grows considerably, since every Language has it's own DB Product Sections.
You might check one of the latest 3K Product Shops on performance, by use of this:
https://gtmetrix.com/reports/www.velomech.ch/qRKQSDYk
(including displaying the individual Amount of Products!)
And if optimized Images would be used, the Page Speed Score might reach 99% ,
as already tested. Without the need of Custom Performance Extensions,
but Google + OC Forum Knowledge only. And this also helps, to avoid new
Problems, if one requires additional Extensions, not built, to work with non
OC-default modified performance-related Custom Code + Routines.
---
And OC-wise, one should just be aware of, that the OC v.3 Project is still under
Construction, and should so not be used in a real commercial environment yet,
if one is not an OC Coder.
Good Luck!
Ernie
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
that your OC performes up to, what it can do, by use of a few tricks.
But without getting a chance, to take a look, and make a few tests, it's hard to guess ....
Good Luck!
Ernie
---
Sample of a 'tuned' engine: (gtmetrix.com test)
http://www.bigmax.ch/shop/index.php?route=common/home
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
PM sent.IP_CAM wrote: ↑Tue Feb 18, 2020 2:23 amWell, the only thing, still waiting to be done, would now be, to make sure,
that your OC performes up to, what it can do, by use of a few tricks.
But without getting a chance, to take a look, and make a few tests, it's hard to guess ....
Good Luck!
Ernie
---
Sample of a 'tuned' engine: (gtmetrix.com test)
http://www.bigmax.ch/shop/index.php?route=common/home
it takes a few steps, like shown below:
---
1. SHOP config.php FILE: (The ADMIN config.php File might be changed as well)
Make Image Linking cookiefree:
Code: Select all
define('HTTP_SERVER', 'https://www.yoursite.com/');
define('HTTP_IMAGE', 'https://yoursite.com/image/');
// HTTPS
define('HTTPS_SERVER', 'https://www.yoursite.com/');
define('HTTPS_IMAGE', 'https://yoursite.com/image/');
And if a Site is running under not secured HTTP:// all links need to be written as http:// ....
---
2. Add to the .htaccess File, to allow HTTPS:// YOURSITE and HTTPS:// WWW. YOURSITE , to be 'handled' equal:
BEFORE:
Code: Select all
## SEO URL Settings
RewriteEngine On
Code: Select all
## Allow cross-origin requests.
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|ico|pdf|flv|eot|woff|woff2|font.css|css|js)$">
Header set Access-Control-Allow-Origin "*"
Header always append X-Frame-Options SAMEORIGIN
</FilesMatch>
</IfModule>
## Send the CORS header for images when browsers request it.
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
<FilesMatch "\.(bmp|cur|gif|ico|jpe?g|png|svgz?|webp)$">
SetEnvIf Origin ":" IS_CORS
Header set Access-Control-Allow-Origin "*" env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
3. Change Scriptings and Styles to cookiefree LINKING in the header.twig / header.tpl FILE,
and/or where else such links exist: ( Setting is valid by use of HTTPS:// , as it is the case on your Site! )
Code: Select all
<script src="https://yourshop.com/catalog/view/javascript/jquery/jquery-2.1.1.min.js" type="text/javascript"></script>
<link href="https://yourshop.com/catalog/view/theme/bigshop/js/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<script src="https://yourshop.com/catalog/view/theme/bigshop/js/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<link href="https://yourshop.com/catalog/view/javascript/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="https://yourshop.com/catalog/view/theme/bigshop/stylesheet/stylesheet.min.css?v=1" />
<link href="https://yourshop.com/catalog/view/theme/bigshop/stylesheet/owl.carousel.css" type="text/css" rel="stylesheet" media="screen" />
<link href="https://yourshop.com/catalog/view/javascript/eb_mega_custom_footer/style.css" type="text/css" rel="stylesheet" media="screen" />
<link rel="stylesheet" type="text/css" href="https://yourshop.com/catalog/view/theme/bigshop/stylesheet/responsive.min.css" />
<link rel="stylesheet" type="text/css" href="https://yourshop.com/catalog/view/theme/bigshop/stylesheet/stylesheet-skin2.css" />
<script type="text/javascript" src="https://yourshop.com/catalog/view/theme/bigshop/js/common.min.js?v=30"></script>
<script type="text/javascript" src="https://yourshop.com/catalog/view/theme/bigshop/js/custom.min.js"></script>
<script src="https://yourshop.com/catalog/view/theme/bigshop/js/owl-carousel/owl.carousel.min.js" type="text/javascript"></script>
<script src="https://yourshop.com/catalog/view/theme/bigshop/js/jquery.autocomplete.min.js" type="text/javascript"></s
4. Use some OC internal Code Compressor Extension:
SourceCode Compressor
https://www.opencart.com/index.php?rout ... n_id=29699
HTML Minify | Compress code | SourceCode Compressor
https://www.opencart.com/index.php?rout ... n_id=36607
Boostspeed - Speed & SEO (Cache, Minify js & css)
https://www.opencart.com/index.php?rout ... n_id=38346
---
5. Use Database CACHE, if it does not collide with your already working Extension:
Database Cache
https://www.opencart.com/index.php?rout ... n_id=35767
---
6. One could also try famous MaxD's Extension, it already contains some of the Extension
Routines above, so better DON'T TRY all of them combined, either MaxD's Mod, or then the others!
OpenCart Lightning - Most Effective Accelerator
https://www.opencart.com/index.php?rout ... on_id=8068
---
7. Use some CACHE Handling Extensions, to have better control over cached Content:
EasyCache
https://www.opencart.com/index.php?rout ... n_id=38030
Clear Theme (Twig) and SASS cache Free Version
https://www.opencart.com/index.php?rout ... n_id=33801
Clear Cache by Button
https://www.opencart.com/index.php?rout ... n_id=34911
---
8. MINIFY all of your Style ... .css and *.JS Script Files
http://minifycode.com/html-minifier/
https://csscompressor.com/
https://javascriptcompressor.com/
Depending on the Code, the One or Other Site works better ...
---
9. COMPRESS your Images:
https://imageoptim.com/online
---
10. Weismann Cache Category Data:
And one last Extension, that I use for a long time, it really speeds up Category Loading.
It's an OcMod Extension, used for OC-3 Versions, and should be tried out in any Case.
Information:
viewtopic.php?f=161&t=126241&p=500211#p500211
Download:
https://gist.github.com/weismannweb/8ad ... 8d751281b2
---
11. Come back and tell others about the difference !
Extensions are NOT tested by me, I don't use OC-3 !
I figured to publish it here, so, others might take advantage of it also.
Good Luck!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I posted about speed tips here
viewtopic.php?f=199&t=214970
Basic set up here
viewtopic.php?f=199&t=215837
So far no real issues
Jim
https://www.carguygarage.com
Yahoo Store since 2006 moved to OpenCart on January 24, 2020
and some minor details could still be improved. But it's a very nice Layout, I
have to admit that.
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Jim
https://www.carguygarage.com
Yahoo Store since 2006 moved to OpenCart on January 24, 2020
Seconds, but to get impressed by the broad Assortment of Goods. But we
are not here, to knock on each other shoulders, but talk figures and facts.
And in your case, it would not take much, to peak the one or other remaining
Gizmo, just to manifest the obvious professionality behind you, and the things you do ...
Swiss are a little more picky on small things than Americans, sorry about that ...
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
the only difference i see between the standard header file and your mod is to add the full URLs? does this speed up OC?
IP_CAM wrote: ↑Wed Feb 19, 2020 2:00 am3. Change Scriptings and Styles to cookiefree LINKING in the header.twig / header.tpl FILE,
and/or where else such links exist: ( Setting is valid by use of HTTPS:// , as it is the case on your Site! )Code: Select all
<script src="https://yourshop.com/catalog/view/javascript/jquery/jquery-2.1.1.min.js" type="text/javascript"></script> <link href="https://yourshop.com/catalog/view/theme/bigshop/js/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" /> [/quote]
---
Environment
php: 7.2
MySQL: 5.7.26
Browser: Chrome latest
---
OpenCart
2.3.0.2 singlestore (bugfree edition by xxvirusxx: https://github.com/condor2/Opencart_2302)
DE language by OSWorX (https://www.opencart.com/index.php?rout ... n_id=31048)
Template: Sellmore by 321cart
quite a few Extensions :-)
Well Earnie, that's the bullet straight in the bull's eye.
Purpletree Software LLP
New features launched for Multivendor Marketplace Extension
Naw, I don't take it personal, just pointing out that those tests don't reflect user experience. If the user isn't happy, they aren't going to buy anything.
...and although I was born in the US, I actually live on a little island with about 100 people in another country. Look up Middle Caicos
Jim
https://www.carguygarage.com
Yahoo Store since 2006 moved to OpenCart on January 24, 2020
it does not change the world, but it still add's to overall performance
But I did NOT change all the links for testing, or it would look even better.
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
jquery-2.1.1.min.js, to be the first code, called in the header.tpl file, (important!)
placed directly after:
Code: Select all
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
Code: Select all
<script>if(!window.jQuery){document.write('<script src="http://SITE/shop/catalog/view/javascript/jquery/jquery-2.1.1.min.js"><\/script>');}</script>
at least to the Site Test Engines, and that's, what finally counts!
---
And if that File is also 'filled up' with some other scriptings, usually beeing part of the header-code,
(I forgot, which ones ) it's less files to call, so adding one or two points. In some Test Sites, I named it
'headercompress.js', in addition to another file, placed in the footer.tpl, like this:
Code: Select all
</footer></div>
<div id="notification"></div>
<script type="text/javascript"> $(document).ready(function() {$.getScript("http://SITE/shop/catalog/view/theme/default/js/compressed.js");});</script>
</body></html>
Otherwise, I would really give some a hard time, trying to stay in OC Business ...
Just joking
Ernie
PS: Better don't try out the Files enclosed in real, they're not made, to fix later OC Versions,
they just serve as samples for Pro's, to find out, what's in it !
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Users browsing this forum: No registered users and 14 guests