5 Replies Latest reply on Sep 24, 2008 5:09 AM by Grigoriy Tkachuk

    s:graphicImage browser cache problem

    Grigoriy Tkachuk Newbie

      I use s:graphicImage to show images of chapters. But internet browser doesn't  cache it and everytime I click on link which on the page with chapters, browser download all images again.


      I think that server must send 304 Not Modified, but how to do that?


      this is example of how I insert my images to page


      <div class="left_image">
            <s:graphicImage value="#{chapterView.loadImage(chap)}" fileName="chapter-#{chap.id}">
                 <s:transformImageSize width="223" height="126"/>
            </s:graphicImage>
      </div>
      



      Somebody help me to resolve this problem, please