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

CSS stylesheet processing could skip rereading when headers or timestamps are unchanged

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx16
    • javafx

      As discussed in this openjfx-dev email thread, there are some inefficiencies in process CSS stylesheets:

      https://mail.openjdk.java.net/pipermail/openjfx-dev/2021-March/029303.html

      Whenever a stylesheet is processed, it is reread from the provided URL. A checksum is generated to see if it need to be reprocessed, but even the act of reading the HTTPS stream or a File is overhead that may be able to be avoided if we checked the HTTP header or File timestamp as suggested by Richard Bair in this response:

      https://mail.openjdk.java.net/pipermail/openjfx-dev/2021-March/029311.html

            Unassigned Unassigned
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: