Skip to content

ETag-based caching #302

Description

@jace

Coaster needs a decorator that supports caching with the ETag header. A regular Flask-Cache cache decorator will save server processing time, but not bandwidth consumption for the client.

This example is a good starting point. It needs a hashing algorithm for the ETag value (Blake2b is suitable), a cache-busting mechanism to allow longer timeout periods, and support for If-None-Match and If-Match in POST requests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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