W3C home > Mailing lists > Public > www-validator@w3.org > September 2000

Re: Preventing client-side caching of the validator results

From: Gerald Oskoboiny <gerald@w3.org>
Date: Fri, 29 Sep 2000 06:07:42 -0400
To: "Fr?d?ric G. MARAND" <fgm@osinet.fr>
Cc: www-validator@w3.org
Message-ID: <20000929060742.B29728@w3.org>
On Thu, Sep 21, 2000 at 11:37:38AM -0400, Fr?d?ric G. MARAND wrote:
> Hello,
> After using the HTML4.0 (and CSS) validators it for my pages from...
>     http://www.osinet.fr/code/glo.asp
> (a kind of terminology dictionary, that uses parameters to point to various
> subsections)
> ...I noticed the results page always came back not recalculated, unless I
> specifically asked for a refresh. Going further, I found the answer from the
> validator does not include any cache-control directive or other form of
> cachebuster, to prevent browsers from reusing the previous results page.

With my browser and proxy settings, it always validates the current

> Maybe it would be a good idea to add something along that line ? For
> instance, the simple fact of changing the default link code from:
> <p>
>   <a href="http://validator.w3.org/check/referer">
>     <img border=0 src="http://validator.w3.org/images/vh40"
>       alt="Valid HTML 4.0!" height=31 width=88></a>
>   </p>
> to something including the page URL would already remove most client-side
> caching. Like:
> <p>
>   <a
> href="http://validator.w3.org/check?url=heregoestheurlofthepagetobevalidated
> ">
>     <img border=0 src="http://validator.w3.org/images/vh40"
>       alt="Valid HTML 4.0!" height=31 width=88></a>
>   </p>
> Or maybe not ? I noticed nothing about this in the mailing list archive.

Yes, you can do that already:


(that was the original format of the links, actually; I added
/check/referer afterwards for convenience.)

Gerald Oskoboiny       <gerald@w3.org>  +1 613 261 6630
System Administrator   http://www.w3.org/People/Gerald/
World Wide Web Consortium (W3C)      http://www.w3.org/
Received on Friday, 29 September 2000 06:07:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT