Adding a timestamp would be equivilent to "no-cache". I'd like the images to be "cached for the length of the session". Eelco, I think you missed the point of what I was trying to do. We could add a variable called "foo" and set its value to that of jsessionid. The point is that component-scoped images should have a URL that is unique to the user session in some way such that the browser knows that path=0 for one session is not the same image as path=0 for another session. Do you see what I mean?

Gili

Ivo Limmen wrote:
Why not add a timestamp on each URL? This will certainly fix your caching problems. I had to do this once because Internet Explorer was ignoring my disabling caching settings...

On 1/27/06, *Eelco Hillenius* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    -1. We're not building a servlet container here.

    Eelco

    On 1/27/06, Gili < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
     > Hi,
     >
     >         Can we modify the default behavior of the Image component
    (the relevant
     > code is inside its onComponentTag()) such that it always appends
     > "jsessionid" onto its SRC url?
     >
     >         As previously discussed, currently we general identical
    URLs across
     > sessions, the browser caches these images, but underlying image might
     > change from session to session and the browser will display an
    incorrect
     > (cached) image.
     >
     >         I think appending the jsessionid to the URL is a very
    easy and generic
     > fix for this and I'd like to see it go into core. What do you think?
     >
     > Thanks,
     > Gili
     > --
     > http://www.desktopbeautifier.com/
     >
     >
     > -------------------------------------------------------
     > This SF.net email is sponsored by: Splunk Inc. Do you grep
    through log files
     > for problems?  Stop!  Download the new AJAX search engine that makes
     > searching your log files as easy as surfing the  web.  DOWNLOAD
    SPLUNK!
     >
    http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642>
     > _______________________________________________
     > Wicket-user mailing list
     > [email protected]
    <mailto:[email protected]>
     > https://lists.sourceforge.net/lists/listinfo/wicket-user
    <https://lists.sourceforge.net/lists/listinfo/wicket-user>
     >


    -------------------------------------------------------
    This SF.net email is sponsored by: Splunk Inc. Do you grep through
    log files
    for problems?  Stop!  Download the new AJAX search engine that makes
    searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
    http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 
<http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642>
    _______________________________________________
    Wicket-user mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/wicket-user



--
http://www.desktopbeautifier.com/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to