Ask HN: Static website generation with large number of images?
3 by seanwilson | 2 comments on Hacker News.
I'm looking into creating a static website using something like Hugo or Jekyll that has about 1GB of images hosting on something like Netlify: - For each image, I want to automatically generate mobile, tablet and desktop sizes, and also optimise each image with tools like pngcrush. - I want an easy to use CMS interface like Netlify CMS to edit content. - Deploys should be fast. Correcting a typo and having the fix deployed shouldn't take long. What approaches are there to doing the above where image generation doesn't slow everything down? Can generated images be cached somehow between builds? Can generated images be automatically committed to Git somehow when a new image is uploaded? Is it better to use a web service to generate and serve the optimised images on demand?
No comments:
Post a Comment