blog

My blog at www.shimmy1996.com

git clone git://git.shimmy1996.com/blog.git
commit de34bbac8035c80223618e185a9277112b6cf14a
parent 9766101a4af72d88b3292181d201e947757c0184
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun, 21 Jan 2018 03:47:19 -0600

Add Cache-Control policies.

Diffstat:
M.gitignore | 5+++--
Mlayouts/partials/head_custom.html | 6++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -3,4 +3,5 @@
 */*/*~
 public
 themes/*
-static/isso-
\ No newline at end of file
+static/isso
+static/MathJax+
\ No newline at end of file
diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html
@@ -1,4 +1,4 @@
-<!-- favicon settings -->
+<!-- Favicon Settings -->
 <link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png?v=pgqKMwjGgo">
 <link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png?v=pgqKMwjGgo">
 <link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png?v=pgqKMwjGgo">
@@ -9,7 +9,9 @@
 <meta name="application-name" content="Library of Trantor">
 <meta name="msapplication-config" content="/favicon/browserconfig.xml?v=pgqKMwjGgo">
 <meta name="theme-color" content="#707070">
-<!-- Translate titles -->
+<!-- Cache Settings -->
+<meta http-equiv="cache-control" content="max-age=86400">
+<!-- Title Translation -->
 {{$title := i18n (lower .Title)}}
 {{ if eq $title ""}}
   <title>{{ .Title }} | {{ .Site.Title }}</title>