Caching on admin section Caching on admin section
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Caching on admin section

Started by joshmarshall, August 21, 2009, 05:47:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

joshmarshall

Hi,

The web host I use has standard expires headers for requests, but this isn't overridden by the admin.php file. So at home where I use the squid caching proxy I log into the admin panel on one computer, then browse to it from another machine connected to the proxy and I can get to the admin panel. Also any changes I make within the admin settings go back to what they were unless I do a hard refresh.

My solution was to edit the admin.php file to add:

header('Cache-Control: no-cache');

to the top.