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

Update caching for web assets #3016

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Conversation

mofojed
Copy link
Member

@mofojed mofojed commented Oct 24, 2022

Testing Done

  • Loaded up Web UI, ensured the response for the chunked files was cached and loaded from memory:
    image

Other files still have no-cache header and verify against ETag:
image

- Web updated build system: deephaven/web-client-ui#711
- With that build system change, production assets are now in `assets` folder instead of `static`
- Update to allow caching of `assets` directory
- Vite assets directory guide here: https://vitebook.dev/guides/assets.html
@mofojed mofojed added bug Something isn't working NoDocumentationNeeded labels Oct 24, 2022
@mofojed mofojed added this to the Oct 2022 milestone Oct 24, 2022
@mofojed mofojed requested a review from niloc132 October 24, 2022 15:19
@mofojed mofojed self-assigned this Oct 24, 2022
@mofojed mofojed merged commit 639f751 into deephaven:main Oct 24, 2022
@mofojed mofojed deleted the caching-assets-update branch October 24, 2022 20:12
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working NoDocumentationNeeded
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants