Currently, the jetty server only enables caching of /ide/assets/*, and disables caching on /ide/* and /jsapi/*:
// For the Web UI, cache everything in the static folder
// https://create-react-app.dev/docs/production-build/#static-file-caching
context.addFilter(NoCacheFilter.class, "/ide/*", EnumSet.noneOf(DispatcherType.class));
context.addFilter(NoCacheFilter.class, "/jsapi/*", EnumSet.noneOf(DispatcherType.class));
context.addFilter(CacheFilter.class, "/ide/assets/*", EnumSet.noneOf(DispatcherType.class));
context.addFilter(DropIfModifiedSinceHeader.class, "/*", EnumSet.noneOf(DispatcherType.class));
This can cause excessive bandwidth and loading times, as /jsapi/dh-core.js and /jsapi/dh-internal.js are requested fresh on every page load. Furthermore, nothing under /iframe/ is cached.
Currently, the jetty server only enables caching of
/ide/assets/*
, and disables caching on/ide/*
and/jsapi/*
:This can cause excessive bandwidth and loading times, as
/jsapi/dh-core.js
and/jsapi/dh-internal.js
are requested fresh on every page load. Furthermore, nothing under/iframe/
is cached.