Forums / General Questions / yourstore/cache folder getting to fat

yourstore/cache folder getting to fat

Locked

Started by mb1 on 25 Jul 2009, 4:09 AM · Views: 2,257

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
25 Jul 2009, 4:09 AM
#1
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

yourstore/cache folder getting to fat

what is the cache folder for in zencart my cache folder is pushing 260000+ files and i'm going to hit my file limit with my hosting company because of it can i just delete most of the files in this folder?

https://www.gorillagear.ca = zencart v1.3.9h with 40+ mods

25 Jul 2009, 4:18 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: yourstore/cache folder getting to fat

MB1:

what is the cache folder for in zencart my cache folder is pushing 260000+ files and i'm going to hit my file limit with my hosting company because of it can i just delete most of the files in this folder?
You can safely delete them all

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

25 Jul 2009, 7:10 AM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: yourstore/cache folder getting to fat

Change both your 'config' files, second last line, to look like this:

define('SQL_CACHE_METHOD', 'none');

The learning is in the doing.

Potent Products

1 Aug 2009, 4:04 AM
#4
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: yourstore/cache folder getting to fat

you mean this define('DIR_FS_SQL_CACHE', 'change the file location here to none');

https://www.gorillagear.ca = zencart v1.3.9h with 40+ mods

1 Aug 2009, 4:30 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: yourstore/cache folder getting to fat

MB1:

you mean this define('DIR_FS_SQL_CACHE', 'change the file location here to none');

NO. That MUST point to a valid path.

.
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.

1 Aug 2009, 4:31 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: yourstore/cache folder getting to fat

If the files you're seeing there are query log or parse time log files, then go to Admin->Configuration->Logging and turn off the Store Page Parse Times To File, and the Store Database Queries options.

.
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.

1 Aug 2009, 4:33 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: yourstore/cache folder getting to fat

From the Similar Threads at the bottom of this page, you'll find some useful related discussions:

http://www.zen-cart.com/forum/showthread.php?t=107669
http://www.zen-cart.com/forum/showthread.php?t=114341

.
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.