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: [Patch]Opera and caching  (Read 4237 times)

0 Members and 1 Guest are viewing this topic.

etienne

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 17
    • Etienne's Gallery
[Patch]Opera and caching
« 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:
Code: [Select]
<meta http-equiv="Pragma" content="no-cache"/>
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
[Patch]Opera and caching
« Reply #1 on: October 22, 2003, 08:31:04 am »

Thank you - but this has already been fixed :)
Logged
SANIsoft PHP applications for E Biz

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
[Patch]Opera and caching
« Reply #2 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!
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Titooy

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 736
    • under construction...
[Patch]Opera and caching
« Reply #3 on: October 30, 2003, 11:11:34 pm »

Please do the same on the install.php page
Logged

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
[Patch]Opera and caching
« Reply #4 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?  ;)
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Patch]Opera and caching
« Reply #5 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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
[Patch]Opera and caching
« Reply #6 on: October 31, 2003, 05:54:59 am »

No, not George, that's not his job.  You mean John Ashcroft.   :lol:

Quote

Dear 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
Logged
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
[Patch]Opera and caching
« Reply #7 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...
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Titooy

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 736
    • under construction...
[Patch]Opera and caching
« Reply #8 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 ;-)
Logged

soosh

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • http://xxxwasabi.org
[Patch]Opera and caching
« Reply #9 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

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

Page created in 0.023 seconds with 18 queries.