Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Optimize feed generation #67

Open
wants to merge 4 commits into
base: farskid/dont-ship-unnecessary-content
Choose a base branch
from

Conversation

farskid
Copy link
Contributor

@farskid farskid commented Feb 5, 2022

  • 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 farskid changed the title \Farskid/optimize feed generation Optimize feed generation Feb 5, 2022
@vercel
Copy link

vercel bot commented Feb 5, 2022

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

@mattpocock
Copy link
Contributor

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.

@farskid
Copy link
Contributor Author

farskid commented Feb 17, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants