Skip to content

[Optimization] Add cache header to cache images in the browser and CloudFront #956

@tihuan

Description

@tihuan

Context:
Currently deep zoom assets aren't cached in the browser, so the browser would still request for the assets even when it already got it

DoD:

  1. Update CloudFront cache header to tell the browser to cache the images for at least an hour

Example:

Header Name: Cache-Control
Header Value: public, max-age=3600

In dev Cloudfront:
Screenshot 2024-05-30 at 9.36.41 AM.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Priority 0 - Critical, fix ASAP!performancePerformance testing/tuning, load testing, etc.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions