Branch: Tag:

2002-04-10

2002-04-10 09:46:01 by Jonas Wallden <jonasw@roxen.com>

Make /internal-roxen-* cacheable in the protocol cache even if the user
is authenticated.

Rev: server/base_server/configuration.pike:1.506

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.505 2002/04/09 11:08:58 wellhard Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.506 2002/04/10 09:46:01 jonasw Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
1337:    ) {    switch(type) {    case "roxen": +  // Mark all /internal-roxen-* as cacheable even though the user might be +  // authenticated (which normally disables protocol-level caching). +  id->misc->cacheable = 9999; +     TRACE_LEAVE("Magic internal roxen image");    if(loc=="unit" || loc=="pixel-of-destiny")    {