Tapestry 5
  1. Tapestry 5
  2. TAP5-917

Don't set Expires header when tapestry.production-mode is false

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None

      Description

      When running Tapestry with tapestry.production-mode set to false, the Expires header is set to requestTime + 10 years. I know this behavior is desired for long lived assets, but in development mode it tends to cause problems with designers as they work on assets outside of the classpath. Ideally, during development, the Expires header would never be set. It would be nice if this behavior were controlled by a configuration setting if it isn't desirable to tie it to tapestry.production-mode.

        Activity

        Louis Marascio created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Project Tapestry [ 10573 ] Tapestry 5 [ 12310833 ]
        Key TAPESTRY-2751 TAP5-917
        Affects Version/s 5.1 [ 12312964 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        110d 2h 3m 1 Howard M. Lewis Ship 06/Jan/10 21:16
        In Progress In Progress Closed Closed
        12m 20s 1 Howard M. Lewis Ship 06/Jan/10 21:28

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Louis Marascio
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development