From 831f6cf72be96ec28a7797e0c9542e5986885200 Mon Sep 17 00:00:00 2001 From: Thomas Jensen Date: Wed, 20 Jun 2018 18:29:05 +0200 Subject: [PATCH] Add caching hint to readme --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 12a93d9..4685a61 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,24 @@ summarizes the links to your social media profiles and external content. It is: (optional, but these things are helpful to comply with EU data protection laws). You'll need a Google Analytics account, of course, and set it up correctly first. + +## Performance Hint + +It is a good idea to increase the cache lifetime of the background image, so that public proxies and users' browsers +do not need to download it every time. GitHub Pages does not support cache control, but if *your* web server supports +`.htaccess` files, you may want to add one to the *images* folder like so: + +```ApacheConf +# Cache the large background image for 1 year + + + Header unset ETag + Header set Cache-Control "public, max-age=31536000" + + +``` + + ## License The *Fuse Core* theme is free to use and modify under the terms of the