Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Elxis 4.x documentation for users and developers
 
Pages: [1]
  Print  
Author Topic: It will be ok if i will delete my site cash files??? (solved)  (Read 2165 times)
mmarch
Full Member
***
Offline Offline

Posts: 194


« on: March 01, 2007, 22:25:47 »

Hi everyone!!!
I check my site directory and was surprised that size on disc are 209 MB.
I found that half size 141 MB taken by Cache directory.

Could you please explain me - what are this files, and for what they are. And also will know - it will be OK if i will delete all this files 1 time in week???

Chears
« Last Edit: August 16, 2007, 10:58:11 by mmarch » Logged
datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 7682



WWW
« Reply #1 on: March 01, 2007, 22:31:33 »

You can safely delete them all.
Cache is a feature to decrease the database load but sometimes it is better not to use cache. It depends on your site traffic. As long as you have cache enabled new cache files will be generated.
Logged

mmarch
Full Member
***
Offline Offline

Posts: 194


« Reply #2 on: March 01, 2007, 22:40:13 »

OK many thank's for fast replay and help.

I understood - if i have small trafic, i don't need use a cach posibilities, if my site have a big trafic - better is using this function. Is it correct?
Logged
datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 7682



WWW
« Reply #3 on: March 01, 2007, 23:05:14 »

Quote from: mmarch
I understood - if i have small trafic, i don't need use a cach posibilities, if my site have a big trafic - better is using this function. Is it correct?

You can say so, this is the general idea. But there is a hidden issue here: sometimes if cache files are too much it is better to load the content from the database rather than searching the huge cache directory to find the proper cached files. But this depends on many things.
Logged

Farhad Sakhaei
Elxis Community
Hero Member
*****
Offline Offline

Posts: 1188


I know nothing , Should know more & more


WWW
« Reply #4 on: March 19, 2007, 21:22:24 »

hi john ,
is there any way for automatic deletion of old cache files?
thanx
Logged

datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 7682



WWW
« Reply #5 on: March 19, 2007, 22:12:14 »

We may implement cron jobs in Elxis 2007. If this don't happen or you can n't wait you can create a custom php script that will delete the files and set a standard linux cron job running this file whenever you wish.
Logged

Pages: [1]
  Print  
 
Jump to: