mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
Avoid browser caching issues when assets changes
This commit is contained in:
parent
9f6533ece9
commit
cfc1f3eb69
3 changed files with 13 additions and 8 deletions
|
@ -33,10 +33,10 @@
|
|||
{{ end }}
|
||||
|
||||
<meta name="theme-color" content="{{ theme_color .theme }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ route "stylesheet" "name" .theme }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ route "stylesheet" "name" .theme }}?{{ .theme_checksum }}">
|
||||
|
||||
<script type="text/javascript" src="{{ route "javascript" "name" "app" }}" defer></script>
|
||||
<script type="text/javascript" src="{{ route "javascript" "name" "sw" }}" defer id="service-worker-script"></script>
|
||||
<script type="text/javascript" src="{{ route "javascript" "name" "app" }}?{{ .app_js_checksum }}" defer></script>
|
||||
<script type="text/javascript" src="{{ route "javascript" "name" "sw" }}?{{ .sw_js_checksum }}" defer id="service-worker-script"></script>
|
||||
</head>
|
||||
<body data-entries-status-url="{{ route "updateEntriesStatus" }}">
|
||||
{{ if .user }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue