Closed kevin-mitchell closed 11 months ago
Added some more comments to code. NEXTJS_CACHE_DIR
and CACHE_BUCKET_KEY_PREFIX
are not the same. The format is where open-next writes the cached files to (on the computer that is building the nextjs site), the latter is where in the NextjsStaticAssets
S3 bucket we store the cached assets.
OK, after that little confusion there I think things are now correct. Just deployed, everything is deployed to _cache
, and the environment key is correct still.
Closes #149
This will align the cache files generated at deploy time and the open-next cache handler so SSG files are actually looked at.
Fixes #149