Author Topic: Question about the cache  (Read 4906 times)

0 Members and 1 Guest are viewing this topic.

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Question about the cache
« on: February 22, 2006, 12:17:04 PM »
Hi,
i dont know, i didnt enable the cache, but i think the cache is somewhere enabled, for example, i have the usercredits-mod installed, and user are complaining that they didnt get their points (in time)

so how can i disable the cache everywhere, i dont want to have a cache-system.


mfg

Georgi

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Question about the cache
« Reply #1 on: February 22, 2006, 02:23:26 PM »
Read docs/Cache.english.txt
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: Question about the cache
« Reply #2 on: February 22, 2006, 02:35:19 PM »
Thanks for you answer, but i didn't activate the cache never bevore. There is also no "$cache_enable = " line in my config.php
But the site seems to be cached anyway, i have many users complaining about that. Is there any "hardliner" method that guarantee a full cache disable?

greetings

georgi

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Question about the cache
« Reply #3 on: February 22, 2006, 02:54:29 PM »
Check in global.php
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: Question about the cache
« Reply #4 on: February 22, 2006, 10:23:38 PM »
ok, so i change

Code: [Select]
// Initialize cache configuration
$cache_enable = 0;
$cache_lifetime = 3600; // 1 hour
$cache_path = ROOT_PATH.'cache';

$cache_page_index = 1;
$cache_page_categories = 1;
$cache_page_top = 1;

to

Code: [Select]
// Initialize cache configuration
$cache_enable = 0;
$cache_lifetime = 3600; // 1 hour
$cache_path = ROOT_PATH.'cache';

$cache_page_index = 0;
$cache_page_categories = 0;
$cache_page_top = 0;

even if it doubt that i changed really something with this, or am i wrong? Anywhere else i can find something to change? If not, ok, i can live with that ;)

Thanks for your help,

Georgi

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Question about the cache
« Reply #5 on: February 23, 2006, 01:04:00 AM »
The question is: did it work? ;)
Basicaly if you didnt change something that interupted with the cache system, it was already disabled in your gallery and you didnt need to change anything.

So, what you can do to check if cache system is active or not, is go to cache folder (its should be in your 4images root) and see if there are any files besides .htacces. If there are any, remove them all, then open some pages see if anything showes up in that folder again.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: Question about the cache
« Reply #6 on: February 23, 2006, 08:09:10 AM »
SO there are no files in this folder, so i guess the cache-system were never used. Maybe its the normal browser-cache-ing whats the reason for my question. So, thanks for now ;)