Query Cache v1.5 released

2

Version 1.5 of Query Cache for Zen Cart has been released. New version reduces query count by 80% (previous version reduced query count by ‘only’ 50%). Here’s list of changes:

  • 970 queries down to 198 queries ( v1.0 executed about 450 queries )
  • some performance improvements to code
  • includes/functions/functions_categories.php has been rewritten to use cache and prefetch data. It reduces query count by about 100 queries (it depends on number of categories in Your store)
  • basic queries for product from products table (for example “select products_name, manufacturers_id from products where products_id = ’7′“) can now be rewritten to “select * from products where products_id = ’7′“. It saves about 100 queries on default Zen Cart demo store.

Download Query Cache v1.5. See updated blog entry on Query Cache for updated charts, demo stores and screencast.

Stay in touch

Just type Your address here to be notified of new versions of Query Cache (You’ll receive only updates on Query Cache). Quick info: We hate spam, Your email will not be given to anyone.

This article has 2 comments

  1. elan 07/08/2011, 05:14:

    hi, I was wondering:
    if i wrote code like this:
    $sql = ‘select b,c,d from table’;
    $result = $sql->fetch_num($sql); // i don’t know if this method exists in zencart db class, just a hypothesis.
    $b = $result[0]; $c = $result[1]; $d = $result[2];
    will it be overwritten like this:
    $sql = ‘select * from table’;// select a,b,c,d from table
    then my varibles will be just messed up…

  2. admin 09/29/2011, 12:57:

    It doesn’t matter if You write ‘select a,b,c,d,e from table’ or ‘select * from table’.

Leave a Reply

Your email address will not be published. Required fields are marked *

*




You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam protection by WP Captcha-Free

Social Stuff

Donate

If You like Query Cache, Query Log or Randomized Tests please make a $5 donation.

Search the blog