Skip to content

Expires cached files after configured seconds#1914

Open
Grepsy wants to merge 1 commit intoobservablehq:mainfrom
Grepsy:cache-expiration
Open

Expires cached files after configured seconds#1914
Grepsy wants to merge 1 commit intoobservablehq:mainfrom
Grepsy:cache-expiration

Conversation

@Grepsy
Copy link

@Grepsy Grepsy commented Jan 25, 2025

This change makes it possible to expire cached files based on an expiration time in seconds.

I'm using Framework for several dashboards in a local setting and find myself manually clearing the cache and restarting the server multiple times a day. I think this would be a very useful feature for those more lightweight scenarios where there's no full CI build to recompile the data.

First PR on project so creating as a draft for your feedback.

@Grepsy Grepsy marked this pull request as ready for review March 7, 2025 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant