SACGF / SACGF/variantgrid

Analysis - be able to expire client side cache

Open
#382 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
30
Forks
3
Avg merge
9h 28m
Merged PRs (30d)
42

Description

If an analysis grid was wrong, and cached client side, there's currently no way to force clients to retrieve the fixed version.

Before you load a node/grid you call node_load which returns the current version so you can build the URL. We can expire these node/version urls server-side by bumping settings.CACHE_VERSION but there is no way to tell the clients that their cache is out of date, except by say incrementing the versions.

If we had some kind of global and just tacked it onto the end of every URL eg ```?cache_version=42``` we could then force client to retrieve the data again.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.