Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Is my site slow because I'm using redone classic template?

    My webpage www.populuxebooks.com takes an average of 6 to 8 seconds to load. I've searched the forums and tried different tips and suggestions to enable it to speed up but nothing has helped. My hosting company is dreamhost and their latest report says that both servers are running well.

    Is it possible that in revising the classic template I have done something incorrect that causes the lag? The admin area is slow as well.

    I know this is a problem that is hard to track down but any help would be appreciated.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    http://www.websiteoptimization.com/s...luxebooks.com/

    Optimize your images and that will make a huge difference.

  3. #3
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    Quote Originally Posted by Kim
    http://www.websiteoptimization.com/s...luxebooks.com/

    Optimize your images and that will make a huge difference.
    I've made all the images 16k or less and load time is still the same.

    Is there any way to check and see if it's zen cart or if it's the server? At least that way I could narrow the problem down.

    I still get that warning from the web page speed report about image size but it gives the same warning to many differant web pages including the main page of this forum, all of which load at normal speed.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Is my site slow because I'm using redone classic template?

    What stats do you see in your page footer if you turn on Admin->Configuration->Logging->Display The Page Parse Time ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    It's turned on now.

    Parse Time: 2.375 - Number of Queries: 210 - Query Time: -1.5933552147675

    edit: parse time goes up to 3.8 or so at times

  6. #6
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    Some pages go up to 9.8 for a parse time.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Is my site slow because I'm using redone classic template?

    16k for a thumbnail is still much larger than required for a small image....and 16k times 10 pictures plus other items is getting large but this still should load relatively fast.
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    Ok then, I can make them super small size if there's a way to get rid of the "larger image" picture in the product description.


  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Is my site slow because I'm using redone classic template?

    If you truly want to not see that image on the product page, then you can edit the template to remove it:
    /includes/templates/YOURTEMPLATE/templates/tpl_product_info_display.php
    approx line 52 contains:
    Code:
       require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
    Simply put two slashes in front of it, like this:
    Code:
    //  require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
    That will cause it to skip displaying the image.


    If you would rather that the image was displayed elsewhere on the page, you could move the section of code elsewhere within the file:
    Code:
    <!--bof Main Product Image -->
    <?php
      if (zen_not_null($products_image)) {
      ?>
    <?php
    /**
     * display the main product image
     */
       require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
    <?php
      }
    ?>
    <!--eof Main Product Image-->

    If you simply wanted the image to display smaller, you could change the size of the "medium" image in Admin->Configuration->Images
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Aug 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Is my site slow because I'm using redone classic template?

    ok, i've made all the images on the front page 2k or less except for the header which is 16k. Load time is still slow. Is there any other suggestions floating around that I can try out?

    DrByte, I'm unsure what the parse times show, could you let me know if it shows something that I can do to help the site?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. developer changed classic template instead of using override system
    By iddy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 10 Mar 2010, 02:09 PM
  2. Define Pages using classic template and overide system
    By FishySteve in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Jun 2007, 03:23 PM
  3. using classic template - adding a jpg file
    By ewalker3 in forum General Questions
    Replies: 2
    Last Post: 23 Nov 2006, 12:16 AM
  4. Adjusting shop width using Classic Template
    By chief_wiggum in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Jul 2006, 11:42 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