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

Turn on browser caching to ease serving of /browse #121

Open
1 task
ksclarke opened this issue Nov 19, 2018 · 0 comments
Open
1 task

Turn on browser caching to ease serving of /browse #121

ksclarke opened this issue Nov 19, 2018 · 0 comments

Comments

@ksclarke
Copy link
Member

Problem:

Client-side caching isn't turned on on the Vert.x HTTP responses by default. Turning it on would help the performance of the site. See Jiiify for how to turn it on... e.g.

response.putHeader(Metadata.CACHE_CONTROL, Metadata.DEFAULT_CACHE_CONTROL);

Acceptance:

  • When looking at the response headers of a GET request to /browse we see caching turned on
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

1 participant