php forum
php mysql forum
php mysql smarty
 
Topic Options
#208639 - 02/24/01 03:00 PM Cache Hack
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449
Had you been annoyed that the info about new files, "new" folders, etc. are not always up to date...<br /><br />Here's my solution:<br />I hacked the main.inc.php to have some META commands added:<br /><br />//--Cache Hack -begin--------------------------------<br />//don't put page in Proxy cache:<br />echo "«meta http-equiv=\"pragma\" content=\"no-cache\"»";<br />//don't keep page in Browsers cache:<br />echo "«meta http-equiv=\"expires\" content=\"0\"»";<br />//--Cache Hack -end--------------------------------<br /><br />Instructions:<br />----------------<br />a) replace « and » with < and ><br />(I had to use the alternative symbols, as this forum messed it up before.)<br /><br />b) HACK would be inserted right before this block of code:<br /><br />// -----------------------<br />// include the style sheet<br /><br /><br />Works fine here...<br />If that wasn't such a good idea, let me know.<br />I am not a pro, still learning all this :)<br /><br />Carl<br />http://212.227.201.213/php/forum/wwwthreads.php<P ID="edit"><FONT class="small"><EM>Edited by caymuc on 02/24/01 03:34 PM.</EM></FONT></P>
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top


Who's Online
0 registered (), 24 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Today at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Today at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Today at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Today at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks