Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: How to force a new download of an excel file

__/ [Jose] on Thursday 15 December 2005 17:10 \__

>>> I link to an excel file which is stored on the server.  I want users to
>>> see the new version of the file as soon as it is updated, but users are
>>> seeing the old version, which remains cached on their client.  How can I
>>> ensure that the users actually get the current version of the file when
>>> they click on it?
>>> 
>>> Jose
>> 
>> 
>> http://www.i18nguy.com/markup/metatags.html
>> 
>> Have a look under cache-control
>> 
>> The metadata will enable you to apply a variety of rules to a page (links
>> included I suppose).
> 
> I'm not sure how this would work.  The metadata applies to the page
> which contains the link, not to the link itself.  The page that contains
> the link may be cached, that's ok.  It is the link target (an excel
> file) that must be fetched anew each time.
> 
> Simply fetching the host page anew does not guarantee that the host
> page's link's target will be fetched anew.
> 
> Jose

I thought about it, but it is hard to command the browser itself to behave
in  one way or another. The browser is often trying to be efficient  where
possible.  If I recall correctly, by changing the datestamps on the  files
(should  happen  regardless  at O/S level upon update), one can  urge  the
browser to re-fetch afresh.

Hope it helps,

Roy

-- 
Roy S. Schestowitz      | "The speed of time is one second per second"
http://Schestowitz.com  |    SuSE Linux     |     PGP-Key: 0x74572E8E
 10:10am  up 5 days 17:18,  6 users,  load average: 0.95, 0.87, 0.83
      http://iuron.com - next generation of search paradigms

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index