Forums / General Questions / "File" or "Database" cache - how can i tell

"File" or "Database" cache - how can i tell

Locked

Views: 2,024

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
1 Feb 2008, 2:14 AM
#1
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

"File" or "Database" cache - how can i tell

I need to find out how my cart's cache was originally setup. Is there a way to tell if a cart was setup for Database Cache or File Cache??

thanks

1 Feb 2008, 2:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: "File" or "Database" cache - how can i tell

Towards the bottom of your configurre.php file you will find this and what it is set to be:

  // The next 2 "defines" are for SQL cache support.
  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
  define('SQL_CACHE_METHOD', 'database'); 
  define('DIR_FS_SQL_CACHE', '/home/xxxxx/public_html/cache');

Zen-Venom Get Bitten