Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - replace JSON endpoint with static files #633

Open
rogertheriault opened this issue Jul 10, 2019 · 0 comments
Open

Enhancement - replace JSON endpoint with static files #633

rogertheriault opened this issue Jul 10, 2019 · 0 comments

Comments

@rogertheriault
Copy link

Instead of having an endpoint that might be requested multiple times for the same info, particularly for the interim updates, we could instead create a few JSON static files on the filesystem or a file service that contain a list of all entries, and contain all entries.

These only need to be updated when there's a content change.

The only blocker on implementing this is they'd need to be given header meta (e.g. cache-control) to control the browser and/or proxy's cache TTL, so they could be updated without having caching issues between the browser and the file service.

This is mainly an idea placeholder, details would need to be fleshed out.

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

No branches or pull requests

1 participant