🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Greg Wong Wed, 18 Nov 1998 00:00
sidestepping the cache
#103
Author: Greg Wong
Date: Wed, 18 Nov 1998 00:00
26 lines
1371 bytes
Hello.  Is there a way to create a web page without using a cgi script
that will
force a browser to load the page from the server instead of from the
cache?

Here's the situation.  On the machine that is serving the web page, I
can't run any
cgi scripts.  I have a simple page that contains a jpg image.  The page
also contains
the meta tag that causes the page to refresh itself every 5 seconds.
Now, periodically,
the jpg image on the web server is changed but, the filename remains the
same.
Since the web page containing the image never changes its html code,
Netscape
loads the page from cache.  As a result, the updated image is never
seen.

What can I do so that the updated image shows up the next time the page
refreshes
itself?

Thanks.

--Greg
gregwong@youknowwhere  (best.com)
Re: sidestepping the cache
#121
Author: Smith and O'Halloran
Date: Fri, 20 Nov 1998 00:00
23 lines
1582 bytes
In article <3653B37F.5C8000E3@best.com>, Greg Wong  <gregwong@best.com> wrote:
>Hello.  Is there a way to create a web page without using a cgi script
>that will force a browser to load the page from the server instead of from
>the cache?

Yep.  It's in the "Known Issues" section of the Netscape Release Notes.

	http://home.netscape.com/eng/mozilla/4.0/relnotes/unix-4.0.html
	http://home.netscape.com/eng/mozilla/4.0/relnotes/windows-4.0.html
	http://home.netscape.com/eng/mozilla/4.0/relnotes/mac-4.0.html

  When a page is refreshed by the Reload button or a meta tag, the actual
  last-modified field of an image is not being compared. Sites such as those
  with webcams can force a refresh by adding: 
      <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
      <META HTTP-EQUIV="Refresh" CONTENT="60">

I put those two lines inside <HEAD> after <TITLE></TITLE> in
http://www.inwap.com/backyard/ .
	-Joe
-- 
INWAP.COM is Joe and Sally Smith, John and Chris O'Halloran and our cats
See http://www.inwap.com/ for PDP-10, "ReBoot", "Shadow Raiders"/"War Planets"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads