Cache contol?

kruno

Joined: 2002-09-11
Posts: 1
Posted: Wed, 2002-09-11 09:11

I'd like to turn off caching of gallery files. Why? Well, I edit properties of one photo and when I want to edit properties of other photo first I have to clear my local cache. If I don't do that i get properties of photo which I've edited first. Same thing is with albums. How can I correct this?

Should I add this code to some files:

<?php
header ("cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header ("Pragma: no-cache"); // HTTP/1.0
?>

It the answer is "yes", to which files should I add it?
Thanks!

Kruno