Replies: 1 comment 2 replies
-
In other words, the behavior I want to see is as follows:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am trying to add Turbopack to a Hugo project. The project has a large number of images that Hugo processes and resizes at build time, which is an expensive operation. Hugo already manages a cache directory for this operation at
./resources/_gen
.I'd like for Turbocache to always save this directory as part of the cache bundle so that it can be shared with Vercel's remote caching abilities.
Currently, every preview or production deployment has to rebuild all the images from scratch because the site content (HTML templates, Markdown, etc...) has changed, which creates a cache miss.
How can I configure Turbo to always save the contents of this
resources
directory and just assume that it is already a cacheable output?Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions