skip to main content

kiesler.at

Turn off phpWebSite's cache
updated by rck, 2004-10-10

Usually, caching is good. It saves rendering time and makes websites snappier. Most interesting: This isn't always true for phpWebSite. It sure isn't in my case. I can feel a big speed improvement now after turning the Cache off, regular visitors might as well. No one knows, why. Even the readme states, there could be a speed improvement by turning it off

Where?

All the caching configuration is written in conf/cache.php. Please change it to the following to turn it completely off. Or play around with it to get the result you want to get

<?php if (!defined("CACHE"))
define("CACHE", FALSE);

if (!defined("GLOBAL_CACHE"))
define("GLOBAL_CACHE", FALSE);

if (!defined("TTL"))
define("TTL", 15);

if (!defined("PAGE_CACHE"))
define("PAGE_CACHE", FALSE);
?>




RSSComments - Make a comment
The comments are owned by the poster. We are not responsible for its content.
  • Speed and cache

    Posted on 2004-10-09 13:31:53 By Anonymous

    If you have a lot of users, and more than one looks at the same page; then caching is usefull. For 2-5 users looking at different pages, caching is useless. Anyway, if caching is ON, there are a few additional sql-query's for it.

    Yves

    [Reply ]

    • Re: Speed and cache

      Posted on 2004-10-09 20:46:56 By rck[110]

      To me, that suggests, that most of the sites should turn caching off. How big are the odds that there are, for example, 100 users on a site and 10 of them looking at the same page?

      I guess, this would require quite a big server... Maybe appstate u should turn that off by default?

      [Reply ]

RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Wiki

phpWebSite

Photo Albums

phpWebSite

Article Manager

phpWebSite

Link Manager

phpWebSite

Documents

phpWebSite

Bulletin Board

phpWebSite

FAQ

phpWebSite

Latest Updates

AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread


Zu den KO2100 Foren