Skip to content

Inefficient Cache #4

@aitormagan

Description

@aitormagan

Hi!

I've been using Nginx as cache with the configuration provided by default. However, I've found some annoying errors:

  1. 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.
  2. Requests that do not include the auth_tkt are cached. However, not all these request must be keep in the cache. For example:
    1. Create a private dataset within an organization and upload a file using the FileStore.
    2. Sing out
    3. Try to download the file with the link provided in the first step.
    4. You will be redirected to the main page since you do not have rights in that organization (That's OK!).
    5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions