Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Jan 2004
    Posts
    59,807
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: How do reduce cache folder size?

    If it's the same, then it should not be generating any query log files in your cache folder when you have "Store Database Queries" set to 'false'.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  2. #12
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    270
    Plugin Contributions
    0

    Default Re: How do reduce cache folder size?

    Could you please tell me "Store Database Queries" use for ? When i turn off this option, i don't see any change ...

    I don't know much more about this option and i still wonder about turn on or off

    Thanks you for your help ! Mr. DrBye , you are nice person !

  3. #13
    Join Date
    Jan 2004
    Posts
    59,807
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: How do reduce cache folder size?

    "Store Database Queries", when set to "true", causes the site to create files in the /cache/ folder which contain a list of all the database queries used to prepare the content of the page on every click to your website. These files are named "query_selects_xxxxxxxxxxx.txt".
    Those query_selects_xxxxxx.txt files are intended ONLY for debugging serious database problems.

    NORMALLY the "Store Database Queries" option should be set to "false", and therefore it will NOT generate any /cache/query_selects_xxxxxxx.txt files.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  4. #14
    Join Date
    Jan 2004
    Posts
    59,807
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: How do reduce cache folder size?

    You never answered this question:
    Quote Originally Posted by DrByte View Post
    What are the filenames in your cache folder?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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. #15
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    270
    Plugin Contributions
    0

    Default Re: How do reduce cache folder size?

    Quote Originally Posted by DrByte View Post
    You never answered this question:
    I don't have change to lock them ! My host said i was have 1 million files and i must delete them.

    I was delete cache folder (i can't access to delete each file) and i was create new folder cache.

    That is the way i fix when i don't know about this

  6. #16
    Join Date
    Jan 2004
    Posts
    59,807
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: How do reduce cache folder size?

    Do you have files in the /cache/ folder *now*?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  7. #17
    Join Date
    Jan 2004
    Posts
    59,807
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: How do reduce cache folder size?

    At the bottom of this page is a list of "Similar Threads", one of which refers to a simple utility to clear out all the old *.txt and *.log files from the /cache/ folder: http://www.zen-cart.com/forum/showthread.php?t=107669

    You don't need it now since you deleted the entire folder, but it might be useful in the future if you run into the same problem again.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  8. #18
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    270
    Plugin Contributions
    0

    Default Re: How do reduce cache folder size?

    Quote Originally Posted by DrByte View Post
    Do you have files in the /cache/ folder *now*?
    Hi, after follow your guide : It look like only 1 file in cache folder now. I don't see many file any more...

    The speed still good and don't slow down. It is great to use Zencart.

    Thanks you again ! Mr. DrBye!!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 4
    Last Post: 13 Sep 2008, 04:40 AM
  2. Replies: 2
    Last Post: 3 Mar 2008, 07:29 PM
  3. AIM debug files in cache folder
    By earmsby in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 31 Dec 2007, 07:43 PM
  4. Moving the cache folder.
    By StevenB in forum General Questions
    Replies: 8
    Last Post: 14 Jul 2007, 01:42 AM
  5. Replies: 1
    Last Post: 26 Jun 2007, 05:06 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
  •