coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: etienne on October 22, 2003, 08:25:24 AM

Title: [Patch]Opera and caching
Post by: etienne on October 22, 2003, 08:25:24 AM
Opera is much spec compliant than other browsers regarding to cache.
Then there is some trouble running Coppermine with Opera because of that.

The simple solution is to add, for each them, in template.html the following in the HTML header:
<meta http-equiv="Pragma" content="no-cache"/>
Title: [Patch]Opera and caching
Post by: Tarique Sani on October 22, 2003, 08:31:04 AM
Thank you - but this has already been fixed :)
Title: [Patch]Opera and caching
Post by: jasendorf on October 22, 2003, 04:20:38 PM
Committed this to the CVS about a week ago... 1.2.0 final will love Opera.  Thank you again for your help in making CPG Opera compatible!
Title: [Patch]Opera and caching
Post by: Titooy on October 30, 2003, 11:11:34 PM
Please do the same on the install.php page
Title: [Patch]Opera and caching
Post by: jasendorf on October 31, 2003, 05:19:40 AM
How many times are you planning on running the install that you'd need to worry about caching?  ;)
Title: [Patch]Opera and caching
Post by: Joachim Müller on October 31, 2003, 05:50:48 AM
BTW: hasn't there been an issue with someone hitting "back" when the install was finished? Has this been addressed (a remark on the "installation finished" page "do not hit [back] in your browser or George W. will come after you")?

GauGau
Title: [Patch]Opera and caching
Post by: hyperion on October 31, 2003, 05:54:59 AM
No, not George, that's not his job.  You mean John Ashcroft.   :lol:

QuoteDear Coppermine User,

The DOJ regrets to inform you that your use of the back button is in direct violation of the PATRIOT/DMCA Act. Please pack cool clothes for a vacation in Guantaunomo Bay, Cuba at the 5-star X-Ray resort.

-John Ashcroft
Title: [Patch]Opera and caching
Post by: jasendorf on October 31, 2003, 05:58:07 AM
Ah... I knew I liked my fellow devs....

Yeah, it's listed as a known issue in the README I believe...
Title: [Patch]Opera and caching
Post by: Titooy on October 31, 2003, 08:51:36 PM
Quote from: "jasendorf"How many times are you planning on running the install that you'd need to worry about caching?  ;)
It's just that I first loaded the page that told me to set 777 on albums... and I only came back to the install after some other browsing and I had to refresh it cause it still showed the same page...
it won't probably happen that often but it doesn't cost anything to do it ;-)
Title: [Patch]Opera and caching
Post by: soosh on November 13, 2003, 08:42:18 AM
forgive me if i'm missing something, as i am still a complete idiot about php.  my life is switch configuration, ipx routing, and firewall rules.

i've upgraded from 1.1 to  1.2.0 - RC2 and am still having cache issues in opera.  i just now saw the old fix of entering

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");


into init.inc.php

should this still be necessary with the version that i have?  if so, does it matter where in the init.inc.php i put this code?