Inefficient Cache
Opened this issue · 0 comments
aitormagan commented
Hi!
I've been using Nginx as cache with the configuration provided by default. However, I've found some annoying errors:
- The cache is only used when the user is not logged (the cookie
auth_tkt
is not defined). Otherwise the cache is not used, so I think that the cache policy is not very efficient. - Requests that do not include the
auth_tkt
are cached. However, not all these request must be keep in the cache. For example:- Create a private dataset within an organization and upload a file using the FileStore.
- Sing out
- Try to download the file with the link provided in the first step.
- You will be redirected to the main page since you do not have rights in that organization (That's OK!).
- Try to download the same file but including the API Key. You will get the main page since this page has been cached previously.
I do not know if this is the expected behaviour, but I think it's quite strange.