mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
This Improves the frontend performance with stale while revalidate pattern. There are noticeable performance problems in the frontend that needed addressing. While implementing the stale-while-revalidate pattern to display cached responses while re-fetching up-to-date data in the background, in the same vein we used the opportunity to remove legacy code involving redux as much as possible, cleaned up many components and converted them to functional react components. Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com> Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
62 lines
2.1 KiB
Plaintext
62 lines
2.1 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="theme-color" content="#000000">
|
|
<!--
|
|
manifest.json provides metadata used when your web app is added to the
|
|
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
|
-->
|
|
<link rel="manifest" href="{{ contextPath }}/manifest.json">
|
|
<link rel="shortcut icon" href="{{ contextPath }}/favicon.ico">
|
|
|
|
<base href="{{ contextPath }}">
|
|
<title>SCM-Manager</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ contextPath }}/assets/ui-styles.css">
|
|
<script>
|
|
var modernBrowser = (
|
|
'fetch' in window &&
|
|
'assign' in Object
|
|
);
|
|
if ( !modernBrowser ) {
|
|
var scriptElement = document.createElement("script");
|
|
scriptElement.async = false;
|
|
scriptElement.src = "{{ contextPath }}/assets/polyfills.bundle.js";
|
|
document.head.appendChild(scriptElement);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<noscript>
|
|
You need to enable JavaScript to run this app.
|
|
</noscript>
|
|
<div id="root"></div>
|
|
<div id="modalRoot"></div>
|
|
|
|
<!--
|
|
This HTML file is a template.
|
|
If you open it directly in the browser, you will see an empty page.
|
|
|
|
You can add webfonts, meta tags, or analytics to this file.
|
|
The build step will place the bundled scripts into the <body> tag.
|
|
|
|
To begin the development, run `npm start` or `yarn start`.
|
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
-->
|
|
<script>
|
|
window.ctxPath = "{{ contextPath }}";
|
|
window.scmStage = "{{ scmStage }}";
|
|
</script>
|
|
<script src="{{ contextPath }}/assets/runtime.bundle.js"></script>
|
|
<script src="{{ contextPath }}/assets/vendors~webapp.bundle.js"></script>
|
|
<script src="{{ contextPath }}/assets/webapp.bundle.js"></script>
|
|
|
|
{{#liveReloadURL}}
|
|
<script src="{{liveReloadURL}}"></script>
|
|
{{/liveReloadURL}}
|
|
</body>
|
|
</html>
|