4 ms·
I used a static site generator for all of these benefits in the past, but the rebuilding process is a total nightmare. The site has about 20 categories, and ea
by fareesh 4y ago
I used a static site generator for all of these benefits in the past, but the rebuilding process is a total nightmare.
The site has about 20 categories, and each category has about 100 images. Every time the team adds a new image or category, the deployment/building task clones the repo and then the build process generates all the optimally sized images again and then re-uploads multiple gigabytes to the host. Is there a way around this type of problem with static site generators?
- butz 4y agoOffload image optimization to separate service?
- naet 4y agoYou might need ISR (incremental static regeneration). IIRC there are a couple standard SSG frameworks that support something like it. Usually only worth investing in if you are operating at a large enough content scale though.
- fwip 4y agoA makefile