Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,231
    Plugin Contributions
    20

    Default [Done v157a] Slow admin home page load due to attribute details

    On upgrading a client's site to ZC157, admin home page very slow to load - about 9 seconds. So we uploaded a vanilla 157 and got the same results. Page initially loads OK but there is a long pause at the point of loading the new orders widget. Investigation suggested that it was related to looking up attribute data on each product.

    With
    lines 48 - 56 commented out in RecentOrdersDashboardWidget.php , admin page load has reduced to a much more acceptable 1.34 seconds.
    Development Manager @ JustSimpleWeb.uk
    Over 15 years with Zencart

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,669
    Plugin Contributions
    104

    Default Re: Slow admin home page load

    Thanks for reporting this finding and doing the analysis.

    Perhaps the dashboard widget should say "Open the order to see the attribute details" and not do this additional query?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,231
    Plugin Contributions
    20

    Default Re: Slow admin home page load

    That makes perfect sense to me - there's only so much information a storeowner can absorb from the one page, and the admin home page really is an overview.
    Development Manager @ JustSimpleWeb.uk
    Over 15 years with Zencart

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,669
    Plugin Contributions
    104

    Default Re: Slow admin home page load

    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

 

 

Similar Threads

  1. v152 admin login.php slow to load
    By mattd360 in forum General Questions
    Replies: 1
    Last Post: 20 Jan 2014, 09:38 AM
  2. Customer Box (on Admin Home Page) missing details
    By mattclements in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 2 Nov 2010, 11:19 PM
  3. Admin Page will not load due to error message
    By anniebelle11 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jun 2008, 02:21 AM
  4. Replies: 7
    Last Post: 20 Jul 2007, 05:20 AM
  5. Slow Initial Page Load
    By zenticed in forum General Questions
    Replies: 1
    Last Post: 21 Aug 2006, 01:12 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