Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28485

Re: invalidating caches

From leif.roar@invalid.com (Leif Roar Moldskred)
Subject Re: invalidating caches
Newsgroups comp.lang.java.programmer
References <l129n9ljlib23qolbsqv4od65ltfjbcghi@4ax.com>
Message-ID <1ZadnTGZDrjDEunOnZ2dnUVZ7v6dnZ2d@giganews.com> (permalink)
Date 2014-05-15 04:56 -0500

Show all headers | View raw


Roedy Green <see_website@mindprod.com.invalid> wrote:
> 
> What I wondered is, does the server have a way of broadcasting a cache
> invalidate to ensure the new version is seen immediately?
> 
> If so, can you do it from Java?
>

Broadcasting? No. 

As with anything else in the HTTP protocol, there is no way for the
server to initiate communication with the client.

You can, however, have the _client_ request that intermediate caches
revalidate the freshness of the requested resource with the server, by
setting appropriate Cache-Control headers in the HTTP request.

-- 
Leif Roar Moldskred

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

invalidating caches Roedy Green <see_website@mindprod.com.invalid> - 2014-05-15 02:26 -0700
  Re: invalidating caches leif.roar@invalid.com (Leif Roar Moldskred) - 2014-05-15 04:56 -0500
  Re: invalidating caches Jeff Higgins <jeff@invalid.invalid> - 2014-05-15 16:36 -0400
    Re: invalidating caches Roedy Green <see_website@mindprod.com.invalid> - 2014-05-16 01:58 -0700
      Re: invalidating caches Sarah Connor <s.connor@gmail.invalid> - 2014-05-16 10:31 +0000
        Re: invalidating caches "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-05-17 11:06 +0100

csiph-web