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

Deleted objects are not consistently removed from the cache #126

Open
goldpbear opened this issue Apr 28, 2018 · 0 comments
Open

Deleted objects are not consistently removed from the cache #126

goldpbear opened this issue Apr 28, 2018 · 0 comments
Labels

Comments

@goldpbear
Copy link
Contributor

goldpbear commented Apr 28, 2018

Sending a DELETE request to the endpoint of an object (e.g. a comment like /datasets/mwfeatured/places/4424/comments/4428) via the frontend editor removes the object from the database, but in some cases it won't immediately remove the object from the server's cache (at least I think that's what's happening). In these cases the object will reappear on a page reload, but attempts to send further PUT or DELETE requests to it will result in a 404 error. The object will be completely gone when the cache automatically refreshes, once an hour I think.

I don't have enough information about this to articulate a pattern, but it definitely happens to comments at least.

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

No branches or pull requests

1 participant