Post by TexasGreg » Thu Jan 17, 2019 11:38 am

I have a Magento 1.9 website with 2,900 products and 225,000 customers (a bunch of these customers is likely spam). We average about 100 orders a day except during Christmas holiday season when the volume can triple. The website has a bunch of custom plugins with many not being used.
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?

New member

Posts

Joined
Sun Nov 11, 2018 9:30 pm

Post by marianoitaliano » Fri Jan 18, 2019 4:46 am

First of all, you need to be sure what slows down your website. Because there can be dozens of reasons. One, for example, you're not optimizing images. And wherever you'll move your shop with this issue, it'll stay unsolved. So check your website via Google PageSpeed Insights or GTmetrix and you'll know more.

User avatar

Posts

Joined
Mon Jan 14, 2019 1:12 am


Post by TexasGreg » Mon Jan 21, 2019 5:23 am

Looks like I'm stuck with Magento.

New member

Posts

Joined
Sun Nov 11, 2018 9:30 pm

Post by IP_CAM » Mon Jan 21, 2019 11:06 am

Well, I usually load my Test-Shops with about 3K random auto-made Products, and
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
---
Image

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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by TexasGreg » Tue Feb 18, 2020 12:55 am

I made the switch on January 25th and I'm very happy. Opencart blows away Magento. I wish I had made the switch earlier but naysayers had me scared.

New member

Posts

Joined
Sun Nov 11, 2018 9:30 pm

Post by IP_CAM » Tue Feb 18, 2020 2:23 am

Well, 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. :D
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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by TexasGreg » Tue Feb 18, 2020 9:10 am

IP_CAM wrote:
Tue Feb 18, 2020 2:23 am
Well, 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. :D
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
PM sent.

New member

Posts

Joined
Sun Nov 11, 2018 9:30 pm

Post by IP_CAM » Wed Feb 19, 2020 2:00 am

Well, in order to get up from about 75 percent to at least 90 on GTMETRIX.COM ,
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/');
or in REVERSE, if the default access is configured as HTTPS:// YOURSITE !
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: :D
BEFORE:

Code: Select all

 ## SEO URL Settings
RewriteEngine On
ADD THIS:

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 ! :laugh:
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. :D

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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by head_dunce » Wed Feb 19, 2020 11:20 pm

I've got over 7,000 products and many with options
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


Active Member

Posts

Joined
Thu Apr 04, 2019 11:50 pm

Post by IP_CAM » Thu Feb 20, 2020 12:09 am

Well, 6572 DOM Elements is a lot of bread to handle, especially in Mobile View,
and some minor details could still be improved. But it's a very nice Layout, I
have to admit that. ;)
---
Image

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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by head_dunce » Thu Feb 20, 2020 10:08 am

Run some tests on Amazon.com and let me know how your opinion of your scores might change. From where I sit, user experience far outweighs code these days. The game is not what it was, adapt or die.

Jim
https://www.carguygarage.com
Yahoo Store since 2006 moved to OpenCart on January 24, 2020


Active Member

Posts

Joined
Thu Apr 04, 2019 11:50 pm

Post by IP_CAM » Thu Feb 20, 2020 2:29 pm

Well, better don't take it personal, whoever visits your Site is not looking for
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 ... :D
Swiss are a little more picky on small things than Americans, sorry about that ... :laugh:
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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by littleredcar » Thu Feb 20, 2020 7:19 pm

hi ernie.

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 am
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" />
[/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 :-)


Active Member

Posts

Joined
Thu Jul 30, 2009 4:21 pm

Post by purpletreesoft » Thu Feb 20, 2020 7:52 pm

IP_CAM wrote:
Thu Feb 20, 2020 2:29 pm
Swiss are a little more picky on small things than Americans, sorry about that ... :laugh:
Ernie ;)
Well Earnie, that's the bullet straight in the bull's eye.

Purpletree Software LLP
New features launched for Multivendor Marketplace Extension


User avatar
New member

Posts

Joined
Thu Jun 22, 2017 10:17 pm


Post by head_dunce » Thu Feb 20, 2020 7:59 pm

IP_CAM wrote:
Thu Feb 20, 2020 2:29 pm
Well, better don't take it personal
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


Active Member

Posts

Joined
Thu Apr 04, 2019 11:50 pm

Post by IP_CAM » Thu Feb 20, 2020 11:28 pm

Yep, it's comparable with 'parallel' downloading trough two pipelines,
it does not change the world, but it still add's to overall performance :laugh:
But I did NOT change all the links for testing, or it would look even better.
Image

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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by IP_CAM » Fri Feb 21, 2020 12:24 am

I almost forgot, one of the remarkable improvements has also been, to place the
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 } ?>
and inserting it into another 'script' routine: :D

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>
It's then beeing 'handled' somehow different, as it looks, and so also improves overall Performance,
at least to the Site Test Engines, and that's, what finally counts! :laugh:
---
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>
Unfortunately, I'm just a Player, only finding out by trial and error .... :laugh:
Otherwise, I would really give some a hard time, trying to stay in OC Business ... O0
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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 53 guests