• Resolved alx359

    (@alx359)


    A given CDN can become unresponsive for various reasons (e.g. regional blackout). How feasible is it to have all generated images from the CDN copied locally and served from a local folder, and go back to the CDN only for sizes not yet available in that local directory (or just use the local folder as fallback)? That way, one could also generate optimized images with other (arguably better desktop) tools, and also keep ownership of own thumbnails to offload to different caching solutions?

    • This topic was modified 4 years, 9 months ago by alx359.
    • This topic was modified 4 years, 9 months ago by alx359.
Viewing 3 replies - 1 through 3 (of 3 total)
  • This plugin is limited if you are looking for automatic image resize, fortunately you can use the official Statically plugin if you want to get that ability.

    Also, as a best practice, maybe you don’t need that complexity (Statically -> resize -> local -> different caching solutions), the current CDN provided in this plugin is an online service that allows you to process images simply, easily, and only through URLs, resize to fit various devices, on-the-fly, which saves storage ??

    Thread Starter alx359

    (@alx359)

    Hey Frans, wow, a honor the Statically founder wish to answer my probably clueless question ??

    My point is, I believe no global service isn’t prone to blackouts, especially nowadays in this trialing world. The nice API offered by Statically isn’t at all the issue here. Any, even ubiquitous, service could suddenly vanish for various reasons and start a cascade of ugly side-effects across the globe. Disk space on the other hand, for just imagery at least, is a simpler and available commodity that foments granularity and ownership. That, and the fact that creating thumbnails has a cost in CPU cycles and algorithms that should be absorbed by other stakeholders along the line, means that I want to keep the fruit of that shared labor within my own website and do with it further as I please.

    Hope that makes sense.

    Cheers!

    Plugin Author Gijo Varghese

    (@gijo)

    @alx359 If there are outages, pls contact Statically directly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Serving images locally?’ is closed to new replies.