• Post Reply Bookmark Topic Watch Topic
  • New Topic

Public and Private Cache  RSS feed

 
Vito Andolini
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I was wondering if it's possible to set something to be cached both publicly and privately. That is to say, I want an image (for example) to be cached on a proxy server, but also on the user's browser. This would prevent new requests for the image from going past the proxy server, but if the user already had the image locally, the browser wouldn't even have to send a request to a proxy server.

It seems that we can only set cache to public or private, but not both. Anyone know how/if this can be accomplished?

Grazie.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37256
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouldn't "public" do that? The w3c says "Indicates that the response MAY be cached by any cache,". This sounds like both the proxy server and browser are allowed to cache it.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!