Skip to content

Add caching to aggregator responses #132

Open
@vlad-ignatov

Description

@vlad-ignatov

There are multiple caching strategies we can try. I'd propose we start with the simplest, which could look like this:

  1. You get the modification date of the underlying s3 file
  2. Make sure you send that date in a Last-Modified header
  3. You may also get a if-modified-since header. If so, compare and:
    • Last-Modified > if-modified-since - exit with 304 status code without doing anything else.
    • Last-Modified <= if-modified-since - Continue with the queries as usual

Notes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions