blog icon indicating copy to clipboard operation
blog copied to clipboard

Optimize feed generation

Open farskid opened this issue 2 years ago • 3 comments

  • Generate a new feed (takes 6s) only when there is a change in posts
  • Fix a couple of bugs with editing and creating post scripts

farskid avatar Feb 05 '22 22:02 farskid

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/statelyai/blog/51QKASG3Jvk5SPgcSnz8Pgs6kS52
✅ Preview: https://blog-git-farskid-optimize-feed-generation-statelyai.vercel.app

vercel[bot] avatar Feb 05 '22 22:02 vercel[bot]

Why is the cache useful? On the CI, we won't have access to any persistent FS cache, so the feed will always be regenerated.

mattpocock avatar Feb 17 '22 10:02 mattpocock

Why is the cache useful? On the CI, we won't have access to any persistent FS cache, so the feed will always be regenerated.

That's true. I realized that after I did the poc.

farskid avatar Feb 17 '22 10:02 farskid