Hi guys,
A thought just occurred to me, and I figured I must drop it here -- why not create an app shell support through MPS?
In short, if you could identify what is the template (the google SE does), you can separate the content from the template and cache the template separately.
More over, when requesting the content through JS, you can strip out the template and deliver an EXTREMELY small response, so the flow would goes as follows:
- user request a page
- service workers will identify the fetch and reply with the template html from the cache.
- the template html will include JS code that will request the content from the server.
- the server will strip out the template and deliver just the content.
By that we can bring balance to the force and peace too to galaxy :-)
What say you?