Hi,
What is the cache folder function in Zen template work?
Can I use it to create caching Php without obstructing the good performance of the site.
Regards
Olivier
Hi,
What is the cache folder function in Zen template work?
Can I use it to create caching Php without obstructing the good performance of the site.
Regards
Olivier
The cache folder is used to cache sql queries and store session data as well as debug logs. Some addons use it for caching images and other things as well.
PHP caching is not recommended, but feel free to experiment. I generally find that if your PHP needs caching then your server is probably a bit underpowered. Caching the PHP into *more* files on the filesystem still makes everything dependent on the filesystem. Caching PHP typically results in about a 1-3% performance gain. Optimizing images usually results in about a 50% performance gain. Hosting on a properly-optimized and adequately-powered server can often result in a 2000% performance gain.
.
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.
Hi,
I understood the message…
It is for personal knowledge. My site is well, I hope.
In this moment, I have some problem with some drivers. I benefit to see what is made in system resources saving.
Is in this thought that I will like to carry out this test.
Thank you for reply…
Rgerads
Last edited by OLIVIER72; 30 Jun 2010 at 10:47 PM.
Hi,
I read on /includes/configure.php and in admin conf.php too
What is the difference between "file" and "database" method?Code:// 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', 'none'); define('DIR_FS_SQL_CACHE', '/var/www/evprovence/cache');
What this define do in the Zen template?
Regards
I forgot...
how long validity time have recorded files into /cache
Regrads
'file' stores cache content in files in your Zen Cart /cache/ folder.
'database' stores cache content in a database table.
Cache has nothing to do with the template.
SQL cache content is typically 5 minutes, depending on what's being cached.
Any log files in that folder have no expiry. They're for your reference, and can be deleted whenever you wish.
.
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.
Thank,
Ok,
I have a problem but I don't understand where that come.
It is difficult to explain with my english. Moreover, there is nothing to say, except that server becoming excessively slowly.
Two weeks ago, I tranfer all sites on dedicated server with Deb64.
The sites run correctly during 30 minutes after a reboot.
After this time, … 10 minutes to load an obj flash (1ko).
The Hosting team thought access problem of SAN.
Since yesterday, the server is working with Deb32, and same problem.
There are only 4 sites on the server. The sites are small and nothing complicated to manage.
Have you an idea where I take a look to manage several Zen template?
Regards
If it's taking more than 10 minutes to load a 1 kb flash object, then you've got a SERVER problem. Not a Zen Cart problem.
Zen Cart has nothing to do with flash. And even if you add HTML to have Zen Cart display code to launch a flash object, it still has *nothing* to do with Zen Cart as far as how that file is loaded. Thus your problem is a SERVER issue, which your hosting company will have to resolve.
And it's definitely not related to "cache" in any way.
.
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.
Hi,
I preferred to be sure that there haven't setup to do on Zen conf, as server side.
Ps aux and top provide no special indication, change drivers... idem
I still don't know why my server get lower performance after few hours. The system is overload and I can't define who is doing what.
To solve the problem, I will return to shared server.
... The circumstances are not with me, is like that. Damage
Thank you for your presence.
Cordialement
olivier