Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-2278

Add caching for avatars

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4 Larks
    • Fix Version/s: 3.4 Larks
    • Labels:
      None
    • Sprint:
      3.4 Larks

      Description

      As a User I'd like the avatars to be cached so that I don't download them every time

      Acceptance Criteria

      • Avatar is cached for some period of time (30 days)
        • Max Age is set to 30 days
        • Expires is set to +30 days from now
        • HTTP code 304 is returned for cached avatars
      • Avatar is updated when user uploads new versions, but this may not be visible right away - some refreshes may be required.

      Note, that browsers often cache images for 1 hour anyway, so you'll see 304 response in both cases.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  varro Artem R
                  Reporter:
                  ctapobep Stanislav Bashkyrtsev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel