Good Morning,

I'm curious on how we can speed up the search results. This website is very slow on the filtering of the category results, but the individual entry works great.

Any thoughts on what would be slowing the results?

Cache http://www.heartlandclassics.com/breeds-available-now/section/category/soft-coated-wheaten-terrier

Without Cache http://www.heartlandclassics.com/breeds-available-now/section-ee-no-cache/category/soft-coated-wheaten-terrier

{exp:channel:entries channel="store" limit="6" dynamic="yes" paginate="both"}
    {exp:store:product entry_id="{entry_id}" form_class="form-horizontal"}
        {if total_stock > 0} 
              <input type="text" value="1" size="3" name="item_qty" style="visibility:hidden; display:none;">
                    <select name="{modifier_input_name}" style="visibility:hidden; display:none;">
                          <option value="{option_id}" title="{if price_mod_val} ({price_mod}) {/if}" {if option_first} selected {/if}>
                          {if price_mod_val} ({price_mod}) {/if}
                    <div class="col-md-4 nopaddingnomargin shop-base">

                {exp:channel_images:images entry_id="{entry_id}" limit="1" dynamic="yes"}         
                        <div class="image" style="background-image: url('{image:url:large}');"></div>

                        <div class="content">
                            <p class="relatedProduct">
                  <a href="{path="breeds-available-now/overview/category/"}{categories show_group="1"}/{category_url_title}{/categories}/{url_title}"}">
                  [ Read More ]

                  <input id="related-item-{entry_id}" type="submit" style="display:none;" name="submit" value="1">
                  <input type="hidden" name="XID" value="{XID_HASH}">    
                  <a href="javascript:void(0);" onclick="$('#related-item-{entry_id}').click();">
                  [ Add to Cart ]

              <div class="row centerTxt">
                  <ul class="pagination">
                      <li><a href="{pagination_url}" class="page-first">First Page</a></li>

                      <li><a href="{pagination_url}" class="page-previous">Previous Page</a></li>

                      <li><a href="{pagination_url}" class="page-{pagination_page_number} {if current_page}active{/if}">{pagination_page_number}</a></li>

                      <li><a href="{pagination_url}" class="page-next">Next Page</a></li>

                      <li><a href="{pagination_url}" class="page-last">Last Page</a></li>


The issues ended up being the amount of "modifiers" that the client has in their entries. They had a dropdown select menu that allowed members to select an airport and then confirm a secondary airport for shipping (785 entries per modifier). The system them had to filter through them all each time... millions of references which caused the system to have memory issues.

Removing that modifier across the board allowed the site to function as normal.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.