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 static resources to avoid re-download on every refresh #1746

Open
ricardozanini opened this issue Feb 20, 2024 · 1 comment
Open

Cache static resources to avoid re-download on every refresh #1746

ricardozanini opened this issue Feb 20, 2024 · 1 comment
Assignees

Comments

@ricardozanini
Copy link
Member

The serverless workflow editor inside Runtime Tools needs to fetch a JS file that has around 40MB. It does so on every page refresh if no cache policy is defined. Although this is not an issue when running locally, users may experience some delays after a page refresh due to this fetch operation when running the dev mode image on a remote OpenShift instance.

The goal of this task is to create a cache policy for static files like JS and CSS so that browsers use cached resources instead of redownloading these files every time.

Here is an example of how it could be done in the dev mode image.

@domhanak
Copy link

FYI @LuboTerifaj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants