Skip to content

Commit fd5cbe3

Browse files
tvdeyenchaimann
andcommitted
[Admin] Disable Turbo Caching and Prefetching
We don't want to deal with Turbo caching issues in the new admin. The content a customer agent or product administrator should always be the latest and most accurate version. Prefetching is a performance nightmare for an admin interface like ours. Co-authored-by: Eugene Chaikin <[email protected]>
1 parent 07ec703 commit fd5cbe3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

admin/app/views/layouts/solidus_admin/application.html.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
<title><%= solidus_admin_title %></title>
77
<meta name="viewport" content="width=device-width,initial-scale=1">
8+
<meta name="turbo-cache-control" content="no-cache">
9+
<meta name="turbo-prefetch" content="false">
10+
811
<%= csrf_meta_tags %>
912
<%= csp_meta_tag %>
1013

0 commit comments

Comments
 (0)