ICEfaces
  1. ICEfaces
  2. ICE-3469

CSS images are not being cached when using IE 6

    Details

    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      1) Use relative (background-image:url(../images/test.png)) rather than absolute references (background-image:url(/images/test.png)).

      2) Add the following JavaScript to the head of your page:

      try {
        document.execCommand("BackgroundImageCache", false, true);
      } catch(err) {}
      Show
      1) Use relative (background-image:url(../images/test.png)) rather than absolute references (background-image:url(/images/test.png)). 2) Add the following JavaScript to the head of your page: try {   document.execCommand("BackgroundImageCache", false, true); } catch(err) {}

      Description

      When using IE 6, images used in CSS styles may not be cached. For example:

      background-image:url(/images/test.png)

      may cause IE 6 to repeatedly load the resource.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17486 Wed Sep 03 07:23:24 MDT 2008 mircea.toma ICE-3469 Apply IE6 specific fix.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17485 Wed Sep 03 07:23:11 MDT 2008 mircea.toma ICE-3469 Apply IE6 specific fix.
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: