mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACA-1558] cache busting for index.html (#888)
This commit is contained in:
parent
8fff3b5582
commit
2d59a3354e
@ -23,5 +23,11 @@ http {
|
|||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ \.html$ {
|
||||||
|
add_header Cache-Control "private, no-cache, no-store, must-revalidate";
|
||||||
|
add_header Expires "Sat, 01 Jan 2000 00:00:00 GMT";
|
||||||
|
add_header Pragma no-cache;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,20 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
<title>Alfresco Content App</title>
|
|
||||||
<base href="/">
|
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<!-- Important: cache busting for index.html -->
|
||||||
<link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96">
|
<meta http-equiv="cache-control" content="max-age=0" />
|
||||||
|
<meta http-equiv="cache-control" content="no-cache" />
|
||||||
|
<meta http-equiv="expires" content="0" />
|
||||||
|
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
|
||||||
|
<meta http-equiv="pragma" content="no-cache" />
|
||||||
|
|
||||||
|
<title>Alfresco Content App</title>
|
||||||
|
<base href="/" />
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96" />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@keyframes bouncing-loader {
|
@keyframes bouncing-loader {
|
||||||
@ -41,8 +49,8 @@
|
|||||||
animation-delay: 0.4s;
|
animation-delay: 0.4s;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<app-root>
|
<app-root>
|
||||||
<div class="bouncing-loader">
|
<div class="bouncing-loader">
|
||||||
@ -52,5 +60,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</app-root>
|
</app-root>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user