Skip to content

Enable browser caching for plugin statics with datasette-auth #586

@simonw

Description

@simonw

An authenticated Datasette I run is seeing delays on every page load. On looking at the network inspector it turns out it's because datasette-vega is nearly 1MB and a cache-control: private is preventing it from being cached!

github__repos__32_rows_where_where_private___1

This may well turn out to be a bug in datasette-auth-github but it's still worth tracking here because caching of static assets from plugins is very important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions