Skip to content

Add proper cache control for embedded visualizations - #594

Merged
artoonie merged 1 commit into
artoonie:proper-cache-controlfrom
skaphan:proper-cache-control
Mar 4, 2026
Merged

Add proper cache control for embedded visualizations#594
artoonie merged 1 commit into
artoonie:proper-cache-controlfrom
skaphan:proper-cache-control

Conversation

@skaphan

Copy link
Copy Markdown
Contributor

Summary

  • Add updated_at field to JsonConfig model to track modification times
  • Use ConditionalGetMixin for all visualization views
  • Short-circuit 304 responses in VisualizeEmbedded before expensive computation

Add updated_at field to JsonConfig model, use ConditionalGetMixin for
all visualization views, and short-circuit 304 responses in
VisualizeEmbedded before expensive computation.
@artoonie
artoonie changed the base branch from main to proper-cache-controlMarch 4, 2026 16:36
@artoonie

Copy link
Copy Markdown
Owner

Merging this into a local branch of the same name to enable Heroku CI to run

@artoonie
artoonie merged commit 3e4a1d8 into artoonie:proper-cache-controlMar 4, 2026
4 checks passed
@skaphan
skaphan deleted the proper-cache-control branch March 4, 2026 17:57
Sign up for freeto 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.

2 participants

@skaphan@artoonie