turbolinks: Disable caching on application visits

Using the "no-preview" directive disables caching on application visits but
shows cached pages on restoration visits.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2018-07-26 23:46:07 +05:30 committed by James Valleroy
parent 36f7322d08
commit 948a222380
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -39,6 +39,7 @@
maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width
-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="turbolinks-cache-control" content="no-preview">
<!-- R2D2, you know better than to trust a strange computer! -->
<meta name="robots" content="noindex, nofollow, noarchive" />