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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx16
    • Component/s: 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

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

              Created:
              Updated: