Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4051

max-age header is set in milliseconds rather than seconds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • wicket
    • None

    Description

      According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html the max-age in Cache-Control should be set in seconds, but WebResponse.enableCaching sets it in milliseconds. The attached patch fixes this.

      Attachments

        1. headerfix.diff
          0.7 kB
          Emond Papegaaij

        Activity

          People

            pete Peter Ertl
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: