is it worth it to move a pdfs, json, and images out of my main build path and shift them to say files. example .com? pros it should decrease buildtime. Cons it it will change hardcorded url paths that have lived a good life since 1999. do I want 2,000+ 301 redirects?
#11ty #webdev
the build times are too bonkers, I've decided to embrace having so many redirects and moving the images and pdfs to a DAM. now i'm debating between Cloudflare R2 vs cloudinary
thoughts? #webdev #11ty
@adjb R2 has extremely limited (but generally capable) resizing API, where cloudinary has enough API methods to write some kind of resizing operating system. have used both, both are good. likely comes down to cost/features.
@d3v1an7 at this point I don’t really want a resizing script or need one just storing 800+ PDFs and thousands of images (thanks Wordpress)
@adjb Are these just static assets being copied to a location in the production folder? I would think the static copy could be fast, but barring that, is there some build caching you can do?
@mez it was 800+ PDFs and a few thousand images (thanks Wordpress) so I moved them to a separate reply and used R2 and cut 4 minutes from my build time. I’m now at 82 seconds and trying to get lower