html template: refresh page every 5 minutes; and don't cache
authorgregor herrmann <gregor@toastfreeware.priv.at>
Sat, 23 Jun 2018 11:59:29 +0000 (13:59 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Sat, 23 Jun 2018 11:59:29 +0000 (13:59 +0200)
web/templates/seepark_web.html

index aabd1df..fd75b46 100644 (file)
@@ -1,8 +1,14 @@
 <!DOCTYPE html>
 <html lang="de">
        <head>
+               <!-- mobile first, yeah -->
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
+               <!-- don't cache; refresh -->
+               <meta http-equiv="Pragma" content="no-cache" />
+               <meta http-equiv="Cache-Control" content="no-cache" />
+               <meta http-equiv="Refresh" content="300" />
+
                <!-- Load c3.css -->
                <link href="{{url_for('static', filename='c3.css')}}" rel="stylesheet">