Avoid caching on special sites
Submitted by petesky on July 18, 2006 - 05:08
Hello !
Is it possible to avoid caching for some pages even if eac is on ?
EG. have cached a lot of pages, but sometimes i need to switch off caching because the page interacts with the user. Now i set HEADER() to expire but EAC does not recognize the expired page ?!

Delicious
Digg
Reddit
Google
Technorati
Hi,
Hi,
Do not know the answer to your question.
But you might be able to disable caching for certain files and/or folders by following this article:
http://www.sitebuddy.com/php/accelerators/eaccelerator_problem_with_php_crash_under_apache
Good - but i will disable
Good - but i will disable the caching on script side.
Eg: I have an URL like www.sitebuddy.com/myscript.php?EACcaching=off
The value caching can be a reserved variable compiled into eAC.