javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-1557

ResourceHandlerImpl does not cache in production mode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3-b01
    • Component/s: resources
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,557

      Description

      ResourceHandlerImpl.handleResourceRequest takes too long to deliver a 304. From
      my point of view, delivering a 304 should take quasi no time.

      The problem seems to be that ResourceManager.findLibrary is called again and
      again. Can resources really change in production mode?

      If resources can't change in production mode, simply cache all necessary
      information (most notably last modified) and return 304 immediately.

      I will look deeper into this. Maybe i will find some point to change.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ryan Lubke
            Reporter:
            Frank Caputo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: