cache control for app.js and style.css

This commit is contained in:
Justin 2022-06-21 16:19:14 +08:00 committed by GitHub
parent 1679f9f62d
commit a0ed8a87de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,8 @@
<!-- CSS Stylesheet linking -->
<link href="{{ url_for('static', filename='style.css') }}" type="text/css" rel="stylesheet" />
<!-- <link href="{{ url_for('static', filename='style.css') }}" type="text/css" rel="stylesheet" /> ALWAYS CHANGE VERSIONING WHENEVER CHANGES ARE MADE TO AVOID BAD CACHING -->
<link rel="stylesheet" type="text/css" href="../static/style.css?ver=1.1"/>
</head>
@ -6786,7 +6787,8 @@
<script src="{{ url_for('static', filename='js/jquery-2.1.1.js') }}"></script>
<script src="{{ url_for('static', filename='app.js') }}"></script>
<!-- <script src="{{ url_for('static', filename='app.js') }}"></script>. ALWAYS CHANGE VERSIONING WHENEVER CHANGES ARE MADE TO AVOID BAD CACHING -->
<script type='text/javascript' src='../static/app.js?ver=1.1'></script>
<script>