Thread: slow loading

Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

    Default slow loading

    what could be loading up and slowing down my website?
    https://www.jnsflooringandsupplies.com/
    i believe it may have something to do with me setting site to this in ht access
    # 301 REDIRECT HTTP TO HTTPS AND WWW TO NON-WWW
    RewriteEngine On
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
    RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,531
    Plugin Contributions
    88

    Default Re: slow loading

    My opinion is that the slow-loading is due to that categories' dropdown which is creating links to each and every (and there are a ton of them) category/sub-category in your store.

  3. #3
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

    Default Re: slow loading

    might i add, that this does this in admin also

  4. #4
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

    Default Re: slow loading

    I can turn off the category sidebox and top categories and it does same thing. When I click refresh I can see things on bottom of browser saying waiting for something.Any script I can load to check site.

  5. #5
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    115
    Plugin Contributions
    6

    Default Re: slow loading

    Try the list on this site: https://www.tlcforcoaches.com/blog/website-speed-tools/
    The images take also a long time to load.

  6. #6
    Join Date
    Feb 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: slow loading

    Google PageSpeed Insights is always a useful tool.

    Also: I see you're using a ThemeForest "Marcus" template.

    The ThemeForest templates are beautiful, but all those bells and whistles may come at a cost with page rendering.

    Your Marcus template seems to be using URL re-writing, Ajax pre-loading, dynamic filtering, off-site content from Font Awesome and Bootstrap, lots of javascript, etc.

    I also recently bought a Themeforest template, and (surprisingly) I couldn't get it to work on ZC 1.57c under PhP 7.4. Their "compatibility" requirements are strict, and I had to downgrade to Zen Cart 1.57b to get it functional.

    In the end, I gave up on it because all their modifications became a bit too much to manage for me. Which is too bad. They look great!

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,174
    Plugin Contributions
    11

    Default Re: slow loading

    Your 301 and your SSL certificate do not match either. Your certificate does not contain www while your 301 redirects to www.
    Code:
    # Redirect HTTP with www to HTTPS without wwwRewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule .* https://%1%{REQUEST_URI} [R=301,L]
    # Redirect HTTP without www to HTTPS without www
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # Redirect HTTPS with www to HTTPS without www
    RewriteCond %{HTTPS} on
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule .* https://%1%{REQUEST_URI} [R=301,L]
    Would be the correct .htaccess 301 code for your site and the certificate to match.

    BUT, that has little to do with the 2.4 seconds to interactive and intial server response of 10.2 seconds.

    As lat9 mentioned, the DOM is greatly effected by the 33k+ instances that the site it trying to deal with.

    Your canonical includes www when it should not and many links are hardcoded to www with some not. Removing any mention of www in the configs and fixing the .htaccess 301 whould help with that.

    No matter how long the site sits idle to the casual observer, it is constantly looking for the missing portercablelogo.gif from the images/manufacturers folder. Maybe the result of something added to the bootstrap template.

    The slideshow is creating a 3M payload for the server with some 75 requests needing to be fulfilled before becoming interactive.

    design-top.js in the jscript folder of marcus is not working correctly.

    You have some high level vulnerabilities with jQueries and the version of bootstrap.

    Your slideshow has to modify the image sizes (964 x 325) before displaying them at 1494 x 509.

    It would be interesting to see what the load time would be if you switched to responsive_classic. Especially if you could view the Lighthouse results for both in Chrome. Your current score is 68, 83, 73, 83 where a new install of 1.5.7c with no demo products or mods is 99, 100, 100, 100.

    BTW The SSL certificate matching the URL to a site is becoming more and more important with browsers deciding to declare sites secure or insecure. Browsers are looking not only at the main certificate but also what your site is supporting. After fixing the match between the configs and the 301, test the site at https://ssllabs.com/ssltest to see if you still have a server error when testing for DROWN. Could be a bad sign if you continue to get 500 errors after the fix.

    In looking at the site, I am reminded of my youth and the attempts to see who could get the most teens in a VW Beetle. The winners got a Guinness record but, they couldn't drive to the pizza parlor to celebrate. I think the desire to "stuff" has done the same to your site.

  8. #8
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

    Default Re: slow loading

    Quote Originally Posted by dbltoe View Post
    Your 301 and your SSL certificate do not match either. Your certificate does not contain www while your 301 redirects to www.
    Code:
    # Redirect HTTP with www to HTTPS without wwwRewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule .* https://%1%{REQUEST_URI} [R=301,L]
    # Redirect HTTP without www to HTTPS without www
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # Redirect HTTPS with www to HTTPS without www
    RewriteCond %{HTTPS} on
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule .* https://%1%{REQUEST_URI} [R=301,L]
    Would be the correct .htaccess 301 code for your site and the certificate to match.

    BUT, that has little to do with the 2.4 seconds to interactive and intial server response of 10.2 seconds.

    As lat9 mentioned, the DOM is greatly effected by the 33k+ instances that the site it trying to deal with.

    Your canonical includes www when it should not and many links are hardcoded to www with some not. Removing any mention of www in the configs and fixing the .htaccess 301 whould help with that.

    No matter how long the site sits idle to the casual observer, it is constantly looking for the missing portercablelogo.gif from the images/manufacturers folder. Maybe the result of something added to the bootstrap template.

    The slideshow is creating a 3M payload for the server with some 75 requests needing to be fulfilled before becoming interactive.

    design-top.js in the jscript folder of marcus is not working correctly.

    You have some high level vulnerabilities with jQueries and the version of bootstrap.

    Your slideshow has to modify the image sizes (964 x 325) before displaying them at 1494 x 509.

    It would be interesting to see what the load time would be if you switched to responsive_classic. Especially if you could view the Lighthouse results for both in Chrome. Your current score is 68, 83, 73, 83 where a new install of 1.5.7c with no demo products or mods is 99, 100, 100, 100.

    BTW The SSL certificate matching the URL to a site is becoming more and more important with browsers deciding to declare sites secure or insecure. Browsers are looking not only at the main certificate but also what your site is supporting. After fixing the match between the configs and the 301, test the site at https://ssllabs.com/ssltest to see if you still have a server error when testing for DROWN. Could be a bad sign if you continue to get 500 errors after the fix.

    In looking at the site, I am reminded of my youth and the attempts to see who could get the most teens in a VW Beetle. The winners got a Guinness record but, they couldn't drive to the pizza parlor to celebrate. I think the desire to "stuff" has done the same to your site.
    when i change both config files (taking out the www.) and add your 301 redirect code in, the admin side works fast and perfect, url shows without www. but catalog side shows apache website file, and url shows www.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,737
    Plugin Contributions
    17

    Default Re: slow loading

    Quote Originally Posted by jimmie View Post
    when i change both config files (taking out the www.) and add your 301 redirect code in, the admin side works fast and perfect, url shows without www. but catalog side shows apache website file, and url shows www.
    The catalog side configure.php is readonly (444) until changed to writeable (644). More than likely the change to remove www. did not occur because of this.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

    Default Re: slow loading

    i now added this instead
    Code:
    # 301 REDIRECT HTTP TO HTTPS AND WWW TO NON-WWW
    <IfModule mod_rewrite.c>
    Rewrite Engine On
    RewriteCond% {HTTPS} off
    RewriteRule ^ (. *) $ Https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]
    </IfModule>
    and now the www is not showing(like it should be. how do i make https www go to https

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v155 Slow loading website
    By KGL Racing in forum General Questions
    Replies: 5
    Last Post: 7 Dec 2018, 05:30 PM
  2. v154 Slow loading sites
    By Siem in forum General Questions
    Replies: 5
    Last Post: 23 Jul 2015, 10:08 AM
  3. Slow Loading
    By oewdirect in forum General Questions
    Replies: 2
    Last Post: 18 Jun 2009, 09:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR