Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

disable cacheing - how to

0 views
Skip to first unread message

Helmut Jarausch

unread,
Dec 8, 2009, 10:28:24 AM12/8/09
to
Hi,

using Opera 10.20 Alpha 1 (Build 4744) I have problems to
disable cacheing.

I have highly dynamic web pages which must be reloaded at each access.
I'm using the following header

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
</head>

but still Opera caches the web page (when the web page is loaded it's generated
by some Python code. A print statement in this code shows every fetch)

The header above is sufficient for FireFox (3.5.5) but not for Opera.

What can I do about it?

Many thanks for a hint,
Helmut.

--
Helmut Jarausch
RWTH-Aachen University
Germany

Jan van Gent

unread,
Dec 9, 2009, 11:09:57 AM12/9/09
to

A workaround is making the url requests unique by putting a timestamp as a query parameter.

Jan

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Helmut Jarausch

unread,
Dec 9, 2009, 11:56:34 AM12/9/09
to

Thanks Jan, though it's a sad news.

Perhaps I should make a big header on my web page
JUST DON'T USE OPERA - IT WON'T WORK

Though Opera has some nice features it's annoying how much it departs
from other common browsers.

Helmut.

--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

Message has been deleted

Jorgen Grahn

unread,
Dec 11, 2009, 7:41:45 PM12/11/09
to
On Wed, 2009-12-09, Helmut Jarausch wrote:
> On 12/09/09 17:09, Jan van Gent wrote:
...

>> A workaround is making the url requests unique by putting a timestamp as
>> a query parameter.
>>
>
> Thanks Jan, though it's a sad news.

It's not news -- he gave a foolproof (but painful) workaround, but
didn't say "there is no other way in Opera"

> Perhaps I should make a big header on my web page
> JUST DON'T USE OPERA - IT WON'T WORK
>
> Though Opera has some nice features it's annoying how much it departs
> from other common browsers.

I don't care how much Opera departs from other browsers; I care about
how much it follows web standards. I don't know much about those
standards, but I know there is plenty of text in the HTTP RFCs about
caching.

I also haven't seen any half-decent pages which work in all browers
but Opera ... so maybe the problem is at your end after all?

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .

0 new messages