Zero Down Time Deployment of a SPA

Web is trending towards single page applications, what if we have a strategy to handle the application deployments in zero down time. Lets step back and understand what is SPA, it’s a Single Page Application which is a solution to save time in downloading  html pages from the server just to show a small change in the UI, i.e in SPA we just download the root html (often index.html) once and change the DOM as needed by interacting with the backend with Ajax calls and executing some scripts etc.,

There is another hidden advantage of the SPA is that every file (js, css, images, fonts etc) is always referred by the root html. So, if we can reorganize the assets in such a way that they are all placed in a separate folder which is accessible by the root document.Read More »

Advertisements