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

Cache all /preview endpoints #1889

Closed
orenyomtov opened this issue Mar 7, 2023 · 2 comments
Closed

Cache all /preview endpoints #1889

orenyomtov opened this issue Mar 7, 2023 · 2 comments

Comments

@orenyomtov
Copy link

Currently, the work done in #1318 sets caching headers for all the /content endpoints, and for HTML /preview endpoints.

But it does not set the cache headers for /preview endpoints that are images, or any other mime type other than HTML.

Images are the most common inscription type, so this should bring considerable caching and performance benefits.

@veryordinally
Copy link
Collaborator

@casey
Copy link
Collaborator

casey commented Dec 23, 2023

Previews are now cached.

@casey casey closed this as completed Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants