From b7adcc8e292dea86e9ab595641def1dfba495d4b Mon Sep 17 00:00:00 2001 From: yamat47 Date: Wed, 4 Sep 2024 23:34:02 +0900 Subject: [PATCH] Disable turbo cache. Using cache, hero image transition's timing is ticky. --- app/app/views/layouts/media/application.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app/views/layouts/media/application.html.haml b/app/app/views/layouts/media/application.html.haml index 4b2e712..10ea675 100644 --- a/app/app/views/layouts/media/application.html.haml +++ b/app/app/views/layouts/media/application.html.haml @@ -10,6 +10,7 @@ = stylesheet_link_tag 'media', 'data-turbo-track': 'reload' = javascript_importmap_tags %meta{ name: 'turbo-prefetch', content: 'true' } + %meta{ name: 'turbo-cache-control', content: 'no-cache' } %meta{ name: 'view-transition', content: 'same-origin' } %link{ rel: 'icon', href: '/favicon.ico', sizes: '32x32' } %link{ rel: 'icon', href: '/icon.svg', type: 'image/svg+xml' }