Oops, fix stale-while-revalidate for modeling data
Huh, I used max-age=1, which suggests to me that I _meant_ to put SWR in here too but just forgot! Oh well lol, fixed now!
This commit is contained in:
parent
a14bddb39e
commit
14ec4585d7
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ const typeDefs = gql`
|
||||||
# NOTE: Most color IDs won't be accepted here. Either pass the ID of a
|
# NOTE: Most color IDs won't be accepted here. Either pass the ID of a
|
||||||
# major special color like Baby (#6), or leave it blank for standard
|
# major special color like Baby (#6), or leave it blank for standard
|
||||||
# bodies like Blue, Green, Red, etc.
|
# bodies like Blue, Green, Red, etc.
|
||||||
speciesThatNeedModels(colorId: ID): [Species!]! @cacheControl(maxAge: 1)
|
speciesThatNeedModels(colorId: ID): [Species!]! @cacheControl(maxAge: 1, staleWhileRevalidate: ${oneHour})
|
||||||
|
|
||||||
# Return a single ItemAppearance for this item. It'll be for the species
|
# Return a single ItemAppearance for this item. It'll be for the species
|
||||||
# with the smallest ID for which we have item appearance data, and a basic
|
# with the smallest ID for which we have item appearance data, and a basic
|
||||||
|
|
Loading…
Reference in a new issue