-
-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Additional Response Headers #510
Comments
That's going to be impossible given the current architecture. We currently nuke and replace the DB each time a change is added. We would need to first shift this to be selective upsert/delete depending on what has changed, which is a non-trivial task. If you would like to take a crack at the more holistic approach, I give you full reign but it's not something I'm going to want to tackle right now given the complexity. |
I can see how a The simplest way would probably just be to upsert a single document with a known This would take slightly less effort than running upserts/deletes for each document every time we redeploy. It wouldn't be perfectly granular, but it would allow clients to know when their caches might be out of date. |
@fergcb I love that compromise. Thank you! |
Either to the Response Headers or Response data, it would be helpful to include
last-modified
- a date for when the item, monster, etc. was added to the SRC or last edited. This would help identify when an individual index ( i.e animated-shield ) was last modified.Currently
date
Response Header outputs today's date.The text was updated successfully, but these errors were encountered: