Skip to content

exclude from_hint from cloudfront caching #5762

@FuhuXia

Description

@FuhuXia

User Story

In order to improve cloudfront cache hit rate, datagov team wants exlcude from_hint from the cache key in the cloudfront cache policy.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • Run the following command a few times. You should get x-cache: Hit from cloudfront
    then change from_hint in the url string to use any some other number. You should NOT see x-cache: Miss from cloudfront
curl -Is https://catalog-beta.data.gov/dataset/inventory-of-owned-and-leased-properties-iolp?from_hint=1 | grep x-cache:

Background

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

This needs to be coordinated with cg support team to edit cache policy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O&MOperations and maintenance tasks for the Data.gov platformpre-cutover

    Type

    No type

    Projects

    Status

    🗄 Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions