Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] Implement a proxy endpoint for blog post cover images to not need to move them out of Notion #3

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

guillermodlpa
Copy link
Owner

@guillermodlpa guillermodlpa commented Dec 11, 2022

Proof of concept for changing image hosting strategy from using a script to move Notion assets to Cloudinary to adding a proxy endpoint for Notion images that can cache them indefinitely. Based on https://jake.tl/projects/notion-api#solving-image-hosting

Demo:

To do:

Alternatives:

  • There might be nothing more stable and robust than moving the images to a separate service, like Cloudinary. That way, images are persistent and we don't depend on a cache that could be reset at any time to avoid requests to Notion after the pages are generated.

@vercel
Copy link

vercel bot commented Dec 11, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
site ✅ Ready (Inspect) Visit Preview Dec 12, 2022 at 10:48AM (UTC)

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

Successfully merging this pull request may close these issues.

None yet

1 participant