You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "ricardozanini (via GitHub)" <gi...@apache.org> on 2024/02/20 19:37:08 UTC
[I] Cache static resources to avoid re-download on every refresh [incubator-kie-kogito-images]
ricardozanini opened a new issue, #1746:
URL: https://github.com/apache/incubator-kie-kogito-images/issues/1746
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](https://github.com/kiegroup/kie-tools/blob/0.31.0/packages/serverless-logic-web-tools-swf-deployment-quarkus-app/src/main/java/org/kie/kogito/StaticContentCachingFilter.java) of how it could be done in the dev mode image.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Cache static resources to avoid re-download on every refresh [incubator-kie-kogito-images]
Posted by "domhanak (via GitHub)" <gi...@apache.org>.
domhanak commented on issue #1746:
URL: https://github.com/apache/incubator-kie-kogito-images/issues/1746#issuecomment-1959755292
FYI @LuboTerifaj
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org