UBB.Dev
Posted By: caymuc Cache Hack - 02/24/2001 11:00 PM
Had you been annoyed that the info about new files, "new" folders, etc. are not always up to date...

Here's my solution:
I hacked the main.inc.php to have some META commands added:

//--Cache Hack -begin--------------------------------
//don't put page in Proxy cache:
echo "«meta http-equiv="pragma" content="no-cache"»";
//don't keep page in Browsers cache:
echo "«meta http-equiv="expires" content="0"»";
//--Cache Hack -end--------------------------------

Instructions:
----------------
a) replace « and » with < and >
(I had to use the alternative symbols, as this forum messed it up before.)

b) HACK would be inserted right before this block of code:

// -----------------------
// include the style sheet


Works fine here...
If that wasn't such a good idea, let me know.
I am not a pro, still learning all this :)

Carl
http://212.227.201.213/php/forum/wwwthreads.php

Edited by caymuc on 02/24/01 03:34 PM.

© UBB.Developers