Thread: File caching

Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Melbourne Australia
    Posts
    48
    Plugin Contributions
    0

    Default File caching

    Hi guys
    I was wondering if there is a simple way to stop file caching from using up a ton of disk space ?
    I have a store that is only 150 meg in size and has built up a 550 meg cache over 12 mths ?
    This is causing me to upgrade my server space :-(

    Is there a setting to stop this happening , or is there a better way to have my store setup as far as caching goes ?

    my server said they would clear it for me as it is not possible to access the cache via ftp...


    thanks heaps :-)
    Steve
    Australia
    http://home-business-host.com - Hosting and Design

    I do it not for you - I do it for the people that did it for me :-)

  2. #2
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: File caching

    I believe you can turn on or off file caching (queries) from within the Admin. Do you need it for any specific reason? If not, why not turn it off?
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: File caching

    What version of Zen Cart are you using?

    The caching should do its own cleanup automatically. Older versions may not have done that consistently.

    You should be able to delete the cache folder contents periodically if you wish. Best to do it when nobody's on the site though. DON'T delete the index.php or index.html or .htaccess files in that folder though. They're there to prevent folks from snooping.
    .

    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.

  4. #4
    Join Date
    Feb 2005
    Location
    Melbourne Australia
    Posts
    48
    Plugin Contributions
    0

    Default Re: File caching

    Thanks for the quick answers guys

    I am using .........
    Zen Cart 1.3.7.1
    Database Patch Level: 1.3.7
    It is was updated version from 125d about 3 mths ago.

    I had a look around in admin , but cannot find the cache control??
    Where within admin would the tuirning off caching be located ??

    thanks again
    Steve
    Australia
    http://home-business-host.com - Hosting and Design

    I do it not for you - I do it for the people that did it for me :-)

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: File caching

    in your /includes/configure.php file.
    .

    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.

  6. #6
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    268
    Plugin Contributions
    0

    Default Re: File caching

    Quote Originally Posted by DrByte View Post
    What version of Zen Cart are you using?

    The caching should do its own cleanup automatically. Older versions may not have done that consistently.

    You should be able to delete the cache folder contents periodically if you wish. Best to do it when nobody's on the site though. DON'T delete the index.php or index.html or .htaccess files in that folder though. They're there to prevent folks from snooping.
    I wonder how to delete all of file in cache folder and leave that file (leave index.html , index.php, .htaccess )?

    My issues is same as the owner of this thread

    KIMSON

    Thanks you!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: File caching

    Quote Originally Posted by kimsonvu View Post
    I wonder how to delete all of file in cache folder and leave that file (leave index.html , index.php, .htaccess )?
    Your FTP program can be used to do that.
    .

    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.

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

    Default Re: File caching

    Quote Originally Posted by DrByte View Post
    Your FTP program can be used to do that.
    After use FTP to found that file , i didn't see any file have name "index.php", "index.html" or ".htaccess" in /shop/cache folder.

    Why this happen to my system?

 

 

Similar Threads

  1. v151 Database caching?
    By lat9 in forum Basic Configuration
    Replies: 8
    Last Post: 23 Nov 2015, 04:15 AM
  2. Caching Issues
    By blazarus in forum General Questions
    Replies: 4
    Last Post: 25 May 2011, 03:20 AM
  3. images caching?
    By Muzz in forum General Questions
    Replies: 1
    Last Post: 23 Sep 2010, 07:26 AM
  4. How to control caching
    By pinne in forum Basic Configuration
    Replies: 0
    Last Post: 27 Jul 2008, 07:16 PM

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