fix: caching

This commit is contained in:
Christel Westerberg
2024-05-31 09:23:37 +02:00
parent 0a3272f75a
commit c47966f994
12 changed files with 69 additions and 24 deletions

View File

@@ -1,4 +1,5 @@
#import "../Fragments/Image.graphql"
#import "../Fragments/Refs/System.graphql"
query GetCurrentHeader($locale: String!) {
all_current_header(limit: 1, locale: $locale) {
@@ -30,3 +31,13 @@ query GetCurrentHeader($locale: String!) {
}
}
}
query GetCurrentHeaderRef($locale: String!) {
all_current_header(limit: 1, locale: $locale) {
items {
system {
...System
}
}
}
}