Forcing retrieval of a fresh copy of a file with a link
- From: Don <donboy@xxxxxxxxx>
- Date: Fri, 30 May 2008 05:47:18 -0700 (PDT)
Is it possible to create a link which will cause either A) the server
to serve a fresh copy of a file or B) the browser to "refresh" the
copy of the file.
Doing it via a link is the only possibility that I think would be
viable for our situation, as changing HTTP headers isn't really
feasible/desired right now (think 'expires' or 'no-cache'). Also, the
file is non-HTML, so adding a 'no cache' meta tag to the file itself
won't work. The file in question has no file extension and contains
text-only excerpts from Apache access logs; parsing it as HTML or PHP
causes it to jumble the line endings and cram everything up, making it
unreadable.
So...Is there a way to add something to the A HREF= tag or create some
other sort of link that can do this? We're also open to other
possibilities which don't involve HTTP headers (or at least the
modification of .htaccess, httpd.conf, etc.).
.
- Follow-Ups:
- Re: Forcing retrieval of a fresh copy of a file with a link
- From: Andy Dingley
- Re: Forcing retrieval of a fresh copy of a file with a link
- Prev by Date: Re: Controlling the "depth" of <UL> or <LI> ??
- Next by Date: Re: Controlling the "depth" of <UL> or <LI> ??
- Previous by thread: Controlling the "depth" of <UL> or <LI> ??
- Next by thread: Re: Forcing retrieval of a fresh copy of a file with a link
- Index(es):
Relevant Pages
|
Loading