You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Research how to enable and use build caching to skip image generation.
Document how to set up caching in README.
Cloudflare
Use Build Caching (has to be enabled explicitly). Supports some major frameworks but not Remix.
If Remix was supported, enabling Build Caching would theoretically be enough to cache the generated images, but now you get this:
Skipping build output cache as it's not supported for your project
Vercel
Use Build caching. I don't seen an explicit mention of Remix build cache path, but Vercel caches everything in node_modules across builds. The plugin can utilize that.
The text was updated successfully, but these errors were encountered:
Right now, the local cache is broken because the plugin checks if an image exist at the cached path, and it will never exist since Vite clears the build/client directory before each build.
How to solve this
The plugin should output the images to the cache directory so if there's a cache match, it will simply copy them from cache to build/client without having to spawn browser tabs.
There are two outcomes of this task:
Cloudflare
If Remix was supported, enabling Build Caching would theoretically be enough to cache the generated images, but now you get this:
Vercel
node_modules
across builds. The plugin can utilize that.The text was updated successfully, but these errors were encountered: