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

max-age header is set in milliseconds rather than seconds

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: wicket
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: