Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102316

Images which are loaded by CSS (e.g. -fx-background-image) should be cached and not loaded in memory every time it is used.

XMLWordPrintable

      Images which are loaded by CSS should be cached.

      Example 1:
      - create 2 CSS classes (a and b) with the same -fx-background-image
      - create a node with CSS class a
      - create a node with CSS class b
      - image is loaded 2 times to the memory
      -> image should loaded once

      More critically:
      Example 2:
      - create 1 CSS class with -fx-background-image
      - create 10 nodes with this CSS class
      - image is loaded 10 times to the memory

            dgrieve David Grieve
            acasalljfx Alexander Casall (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: