Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-917

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.2.0
    • None
    • 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.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            marascio Louis Marascio
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: