[Vuejs]-Vue.js/webpack SPA: point all output files to CDN, except .html?

0👍

My fundamental misunderstanding was that a CDN network was “dumb” in that it just served static files as-is and had no capacity to perform features of a web server such as forcing SSL and handling server redirects, which are especially important for single-page apps. I believed that the root index.html still needed to be served from a traditional, non-CDN web server.

So the answer doesn’t lie within webpack, the answer is to find a solid CDN that handle the necessary features and serve the entire site from there.

Leave a comment