Speed up fetching expired image blocks
otoyo opened this issue · 0 comments
otoyo commented
When file blocks are retrieved from Nx cache, their URL (S3 signed URL) might be already expired.
So URLs must be refreshed with reloading the blocks since #49.
However, the fetching logic is time-consuming so it needs to be faster.
Idea
- Enqueue image blocks to queue while building
- Download image files to public/notion/images/ after building