Sounds full of logic...  I should have think about this sooner!  That's
exactly what I've needed, this should work.  I've got the puzzles pieces
but was missing the global view.

Thanks, your light is really appreciated!
Stephane

At 10:18 AM 7/4/00 -0600, you wrote:
>Well...as I said before, the cache settings on the HTML will not affect the
>caching on the images referenced in the HTML.
>
>I use:
>
>response.setHeader("Pragma",        "no-cache");
>response.setHeader("Cache-Control", "no-cache");
>response.setHeader("Cache-Control", "no-store");          // If I remember
>correctly, this stops proxy server caching
>response.setHeader("Cache-Control", "private");
>
>which is probably a bit of overkill, but it seems to work.  This should work
>with images as well as HTML, but I haven't tried to serve up images from
>servlets, so I'm not absolutely positive.
>
>So, to answer your question: No, there isn't a "no-cache" HTML tag for
>images, as images are not HTML.  You can, however, set the HTTP headers (as
>shown above) to give you the same result.
>
>
>Bart Cassady
>Database Analyst
>Corporate Technology Services
>Associated Engineering Group Ltd.
>[EMAIL PROTECTED]
>
>>>> Stephane Cloutier <[EMAIL PROTECTED]> 07/04 9:27 AM >>>
>I'm setting the "no-cache" in the html meta-tag and I was actually
>suspecting that it was not functionning because the image was generating
>another request.  My problem is how did I tell the browser to not cache
>this image?  Is there a "no-cache" tag for images?
>
>Thanks,
>Stephane
>
>At 08:33 AM 7/4/00 -0600, you wrote:
>>Are you setting the caching for the HTML pages, or for the images
>>themselves?  Each embedded image in an HTML page will generate a separate
>>request to the server, with a separate set of caching settings.
>>
>>
>>Bart Cassady
>>Database Analyst
>>Corporate Technology Services
>>Associated Engineering Group Ltd.
>>[EMAIL PROTECTED]
>>
>>>>> Stephane Cloutier <[EMAIL PROTECTED]> 07/03 1:25 PM >>>
>>Ok, I know this subject have been discussed many times but the solutions
>>that were given ("pragma" http-equiv set to "no-cache" and "expires" set to
>>"0") are not working neither for netscape nor explorer.  I have multiple
>>html pages that have image tags pointing on a servlet.  The problem is
>>these images are cached in the browser and when they are updated, the html
>>pages still show the old images of the cache instead of the new one that
>>should be return by the servlet.  Any idea to solve this?
>>
>>Thanks,
>>Stephane Cloutier
>>
>>___________________________________________________________________________
>>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>>of the message "signoff SERVLET-INTEREST".
>>
>>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>>Resources: http://java.sun.com/products/servlet/external-resources.html
>>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>>
>>___________________________________________________________________________
>>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>>of the message "signoff SERVLET-INTEREST".
>>
>>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>>Resources: http://java.sun.com/products/servlet/external-resources.html
>>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to