Results 1 to 10 of 28

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    14
    Plugin Contributions
    0

    Default Slowness when loading page with many attribute values

    Hi, I am setting up a page for a custom made dress. One of the attributes is fabric color. That option has about 50 values in a drop down box. Another option is ribbon color, and there are about 30 of those in a drop down box, and also a bow color, which also has the same 30 values in a drop down box. So you can see that for that one product, those drop down boxes have A LOT of values to load into the dropdown boxes.
    This seems to be causing a delay of over 10 seconds each time the page loads. I took off those attributes and the time delay went down to less than 2 seconds, so its clearly the amount of values in the dropdown boxes.
    Is this normal, and what can I do to make it faster? Does sort order make a difference? Caching? I tried all the types of database caching, but all seem the same effect.
    If I can't resolve, I may have to take the undesirable route of just having the choices typed into a text box instead.

    thanks in advance.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Slowness when loading page with many attribute values

    Attributes do slow things down quite a bit when there are a lot of them ...

    Usually, you need to have more ... depending on the server speed ... to have the slow down on 50 to 100 be more than 2-5 seconds ...

    You could customize the code for the attributes module to not perform some of the calculations that you are not using to speed things up ...

    However, unless you are a coder you may wish to post something in the Commercial Help Wanted forum ...

    v1.4 will have a much faster and more manageable method of handling attributes but that is not due out for some time ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2007
    Posts
    51
    Plugin Contributions
    0

    Default Re: Slowness when loading page with many attribute values

    Would it be possible to group the attributes on another page either separate or as another item. Would this speed it up.

    On my site http://www.designerspecsbypost.co.uk/

    when you look at the designer sunglasses they load quickly as they do not have any attributes whereas the designer frames do and take ages for each frame to load.
    Even if it doesn't speed things up, if it had a separate page/area then this page could take ages to load, but at least it will be a once or twice occurrence just before purchasing not every single designer frame being enough to put potential purchasers away.
    If this is a viable option to speed things up before 1.4 arrive, how do I go about doing it?

    Will

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Slowness when loading page with many attribute values

    Even when the new version comes out, you will want to test/upgrade your site carefully and make sure all is working well before going live with that new version ...

    I would try adapting the current code in the attributes.php module and comment out any functions running for calculations that are not used by your Products to improve performance ...

    Without trying your database on another server, I cannot tell you how much of this delay could be due to server perfomance issues, if any ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2007
    Posts
    51
    Plugin Contributions
    0

    Default Re: Slowness when loading page with many attribute values

    Good suggestion

    I will try it out on another server, a good suggestion. There is no point spending hours tweaking it to find that moving servers would be all I needed to do.

    Will

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Slowness when loading page with many attribute values

    Let us know what the solution is that works for you on this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v155 Attribute controller - error message when adding attribute values
    By rustwood in forum General Questions
    Replies: 8
    Last Post: 11 Jul 2016, 10:26 PM
  2. problem loading attribute values
    By bstainback in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 17 Sep 2011, 02:24 PM
  3. Slowness caused by option values
    By hookah in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 31 May 2010, 09:40 PM
  4. Adding many option values and attribute price
    By violet23 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Dec 2008, 12:27 AM
  5. Page with many attributes loading slow
    By shawnz28 in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 14 Jul 2007, 11:03 PM

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