Page 8 of 8 FirstFirst ... 678
Results 71 to 79 of 79
  1. #71
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Zen Simple Cache

    Quote Originally Posted by CJPinder View Post
    That number of queries is not normal for a site. One of the add-ons you have installed or a modification you have made is generating a lot of SQL queries. Most likely it is either the fly-out categories side-box you are using or the tag-cloud. Try switching back to the standard categories box and see if that helps. You could also try switching off the tag-cloud.
    Regards,
    Christian.
    I was about to put fly-out categories side-box back 3 years after it brought our site to its knees, but it doesn't sound like a good idea now! For a not-often-updated site, is there a way of caching the flyout category code?

  2. #72

    Default Re: Zen Simple Cache

    Quote Originally Posted by xeontranq View Post
    update , mod reinstalled , working but it only dropped the total queries buy 1!!! oh well bring on 1.4 :)
    As far as I know the module does not reduce parse times and query times on its own. You have to decide which parts of Your store are to be cached and do it manually (again, as far as I know).

    As for query count, do You have Query Cache installed?

  3. #73
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Do to make them cache the retrieval result?

    What which file should you describe to make them cache the retrieval result?

    The cash of the details of the commodity page succeeded.
    Please advise.

  4. #74
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Do to make them cache the retrieval from the search box?

    What which file should you describe to make them cache the result of the retrieval from the search box?

    The cash of the product page succeeded.
    tips Please.

  5. #75
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Zen Simple Cache

    Looks like a great module, but it needs some instructions.

    I'm going to try and figure out a bit more about how it works.
    I've got one part of a page to cache, reducing my query count like this:

    Zen new install with example products, before simple-cache:
    First load:
    Parse Time: 5.525 - Number of Queries: 278 - Query Time: 1.843069078125

    Reload:
    Parse Time: 1.242 - Number of Queries: 299 - Query Time: 0.29237893838501

    After simple-cache, first or reload:
    Parse Time: 0.113 - Number of Queries: 67 - Query Time: 0.021814021362305

    Clearly a useful mod, but for anyone about to install this, before you spend an evening struggling like I did, the most recent module manager does NOT work with it.

    You need this version: http://code.google.com/p/zencart-mod...p.zip&can=2&q=

    I'm going to try and figure out a bit more about it, write a few instructions and examples, and hopefully upload tomorrow.

  6. #76
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Zen Simple Cache

    Still lost with this - where would I put the cache to make sure that JUST the categories menu (the thing that kills the site) is cached?

    As I understood it, if you cache one block, you should have one file, but after 24 hours I end up with literally thousands of files.

  7. #77
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Zen Simple Cache

    Still lost with this - where would I put the cache to make sure that JUST the categories menu (the thing that kills the site) is cached?

    As I understood it, if you cache one block, you should have one file, but after 24 hours I end up with literally thousands of files, all named things like, cache_blocks_425a5cbacf49bffc76bdefb63075f2fa all containing completely identical code.

    So, for example, in tpl_main_page.php I have

    Code:
    <?php if(!SimpleCache::startBlock('leftcolsideboxes', true, false)): ?>
    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td><?php SimpleCache::End(); endif ?>
    This saves me a few queries, and sure enough, I end up with files in the cache directory containing what should be in the sidebox.
    But there are thousands of them, all the same, but with different names. Why isn't there just one?

  8. #78
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Zen Simple Cache

    OK, solved the "thousands of identical files" issue:

    Change
    PHP Code:
    <?php if(!SimpleCache::startBlock('leftcolsideboxes'truefalse)): ?>
    to

    PHP Code:
    <?php if(!SimpleCache::startBlock('leftcolsideboxes'falsefalse)): ?>
    Slowly slowly getting there, getting those queries down to sensible levels! With this and query_cache, I'm now down to 30 for the main page. 500 less than "stock install" and my server is now keeping alive quite well. Still 25 too many, but documenting all the time so will post here when done!

  9. #79
    Join Date
    May 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Zen Simple Cache

    Great mod! But I have been looking for any way to avoid "re-caching" pages with certain tracking url parameters (like utm-parameters). So that a certain page, that is not dependent on the specific tracking parameter, is fecthed from the cache rather re-cached.

    Is there any way of doing this?

    Best regards,
    Ed

 

 
Page 8 of 8 FirstFirst ... 678

Similar Threads

  1. Re: Simple Cache vs. Query Cache
    By matteoraggi in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 May 2011, 11:09 AM
  2. Debug files filling up my Cache on Zen 139H
    By tbokich in forum General Questions
    Replies: 2
    Last Post: 28 Apr 2011, 07:09 AM
  3. Simple Cache vs. Query Cache vs. Magneticone Performance Mod?
    By NBordeau in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 24 May 2010, 03:55 PM
  4. Replies: 1
    Last Post: 26 Jun 2007, 05:06 PM
  5. Cache errors with a Linux Installation of Zen cart.
    By Nakhyliah in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 21 Dec 2006, 04:33 AM

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