Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3295

cache: expiration and cache control headers are set wrongly if the expiration time is set to a heigh value.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.6
    • Fix Version/s: 4.3.7, 4.5
    • Component/s: cache
    • Labels:
      None
    • Magnolia Release:
      4.5

      Description

      We have to cast the result of the operation to a long, otherwise we risk an overflow of the integer range and end with a negative value which will not allow the browser to cache the response.

        Attachments

          Activity

            People

            Assignee:
            pbaerfuss Philipp Bärfuss
            Reporter:
            pbaerfuss Philipp Bärfuss
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: