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

        Deryk Sinotte created issue -
        Deryk Sinotte made changes -
        Field Original Value New Value
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Hide
        Deryk Sinotte added a comment -

        Assigning to Mircea to consider implementing the second work-around as part of the ICEfaces framework.

        Show
        Deryk Sinotte added a comment - Assigning to Mircea to consider implementing the second work-around as part of the ICEfaces framework.
        Deryk Sinotte made changes -
        Assignee Deryk Sinotte [ deryk.sinotte ] Mircea Toma [ mircea.toma ]
        Deryk Sinotte made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        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
        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
        Hide
        Mircea Toma added a comment -

        Applied IE6 specific fix.

        Show
        Mircea Toma added a comment - Applied IE6 specific fix.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Fix Version/s 1.7.2 [ 10130 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mircea Toma [ mircea.toma ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: