Show HN: Cdnex – Prepend CDN urls to your HTML and CSS
github.com
github.com
I'm not convinced the use case of sticking CDNs in front of URLs is broad or complex enough to justify bringing in another tool (e.g. I'm pretty sure Rails does this out of the box). That said, I could see this growing into a general-purpose URL transformer.
I'm not sure if rails does this out of the box, but the thinking is to integrate it into a deployment system for sites built without frameworks like Rails (static marketing sites, for example). A general purpose URL transformer would be interesting. Do you have any use cases outside of prepending you can see it being useful for?
Or, to ease writing said docs, you might wish to resolve "fake" urls like `wiki:Batman`, which should point at https://en.wikipedia.org/wiki/Batman ...which I guess still amounts to prepending, doesn't it?