meekostuff / preamp

Use the AMP-HTML engine without giving up on valid HTML.
Mozilla Public License 2.0
0 stars 0 forks source link

Implement AJAX pre-rendering #3

Open shogun70 opened 8 years ago

shogun70 commented 8 years ago

Instead of relying on the browser to pre-render another AMP-page in a hidden window, why not pre-render potential next-pages in the current window.

This would require AJAX + pushState navigation to already be implemented.

shogun70 commented 8 years ago

Implemented <meeko-prerender src="..."> in 8ab6a99cf0065ba2252726f8cf53a4ac28e80021. Currently this only does prefetching and preprocessing / transformation. Need to define and revise behavior.