Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2007
    Posts
    9
    Plugin Contributions
    0

    Default Optimization Problem

    I have noticed something that seems odd to me about the load time of Zen Cart. It seems like if it hasn't been visited for a while it loads really really slowly, but if it has been loaded recently you can hop around any page of the site fairly quickly.

    I don't know a lot about php, is there some reason this happens with php? If not does anybody know anything about it, and most importantly does anybody know how to make it stop?

    Thanks.

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

    Default Re: Optimization Problem

    When a site is in use, your MySQL database is being cached ... as time passes and there is no activity this cache is gone and the next 1st hit of the day begins the cache processes again ...

    If you were to go to your site the first time of the day, your site is slow ...

    If you were to open a new browser window, NOT a FireFox Tab window, and go to your site it would be faster ...

    In the first browser window click on All Products ...

    Then, click the same link in the second browser window ... it is faster ...

    Click page 2 in the first browser window ... then page 3 ... then page 2 ... notice how page 2 is faster ...

    Click page 2 in the second browser window then page 3 ... notice how both pages are fast ...

    Click page 4 in the second browser window ... it is slow ...

    Click page 4 in the first browser window ... it is faster ...

    Each select is being cached and "helping" speed up the site ...

    If you have more users, things are faster as more things are cached ...

    Also, part of this is related to how the server is optimized for MySQL to start with ...
    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
    9
    Plugin Contributions
    0

    Default Re: Optimization Problem

    Thank you. : )

 

 

Similar Threads

  1. Optimization
    By Lackew in forum General Questions
    Replies: 4
    Last Post: 26 Apr 2011, 03:31 PM
  2. website Optimization
    By imperialis in forum General Questions
    Replies: 4
    Last Post: 7 Jun 2008, 12:17 PM
  3. DB Optimization
    By jacque427 in forum General Questions
    Replies: 6
    Last Post: 7 Mar 2008, 03:23 AM
  4. IE Optimization
    By DiZZ in forum General Questions
    Replies: 0
    Last Post: 9 Jan 2007, 05:30 AM

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