Single Page App

Whenever a link to another internal page is clicked or a popstate event is fired, mspa.js will:

mspa generates an index.json file along with each index.html if JS is disabled:

{
    "uri": "/uri/to/page",
    "page_content": "...",
    "meta": {
      "name": "...",
      "description": "...",
      ...
    }
}

mspa.js provides the following features :

This is default behavior with projects generated with mspa new, you can remove/modify mspa.js as necessary.