PEAK XOOPS - Re: Fastest Cache Hack (Experimental version) in englishin japanese

Re: Fastest Cache Hack (Experimental version)

Target Downloads
Subject Fastest Cache Hack (Experimental version)
Summary == THE FASTEST CACHE HACK for XOOPS ==SUMMARY:A hack for Page Caching of XOOPS.This hack is not for novices but for experts. USAGE:(1) copy fastestcache.php into your XOOPS_ROOT_PATH/include/(2) make a new folder out of DocumentRoot eg) /home/yourhome...

List posts in the topic

normal Re: Fastest Cache Hack (Experimental version)

msg# 1
Previous post - Next post | Parent - No child | Posted on 2006/9/4 5:31 | Last modified
tl  Sergeant   Posts: 84
I have a weblink module which consumes MySQL queries like crazy (160!)
I tried to hack fastcache.php, will the following work?

top of the file
global $xoopsModule ;
if( isset( $xoopsModule ) && is_object( $xoopsModule ) ) {
$dirname = $xoopsModule->getVar( 'dirname' ) ;

if ($dirname == weblinks ) {
define( 'FASTESTCACHE_EXPIRE_GUEST' , 3600 ) ;
} else {

Votes:14 Average:8.57

Posts tree

  Advanced search

Username or e-mail:


Remember Me

Lost Password?

Register now!