What is "single-page-application"

A single-page application (SPA) is a web application or website that consists of a single web page for the purpose of providing a user experience similar to that of a desktop application.

In a SPA, all necessary code - HTML, Javascript, and CSS - is either obtained with a single page upload, or the appropriate resources are dynamically loaded and added to the page as needed, usually in response to user actions.

The page is not reloaded at any point in the process, nor does it transfer control to another page, although the URL in the browser or the HTML5 history API can be used to provide the perception and navigability of separate pages to the application.

Interaction with single-page applications often involves dynamic communication with the web server behind the scenes.