Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Caching on admin section  (Read 1797 times)

0 Members and 1 Guest are viewing this topic.

joshmarshall

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Caching on admin section
« on: August 21, 2009, 05:47:13 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.