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

LastModifiedCachingWireTest.java:211-219: Confirm cache clearing behaviour in... #162

Open
0pdd opened this issue Apr 26, 2017 · 1 comment

Comments

@0pdd
Copy link

0pdd commented Apr 26, 2017

The puzzle 120-2756c8f7 in src/test/java/com/jcabi/http/wire/LastModifiedCachingWireTest.java (lines 211-219) has to be resolved: Confirm cache clearing behaviour in all non-OK responses Non-OK behaviour was not specified in #120, so for example, if the response is 404 as below, does it make any sense to keep the item in cache? Is it likely a server will respond 404, and then later the exact unmodified content is available again. I think they all need to be thought about, another dubious response might be 301 Moved Permanently, or 410 Gone etc. Or, personally I think all non-OK and OK responses should behave the same WRT to clearing the cache as the cache value is so unlikely to be returned in future.

The puzzle was created by Alan Evans on 19-May-16.

Estimate: 30 minutes, role: IMP.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD.

@0crat
Copy link

0crat commented Apr 26, 2017

@yegor256 please, pay attention to this issue

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

No branches or pull requests

2 participants