I’ve build an AMP site using Jekyll. Currently, I build this site normally using Netlify (i.e. running jekyll build
and then serving from the _site directory).
One of the suggestions Google gives to make AMP sites even faster is to do server-side rendering (https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/server-side-rendering/?format=websites#how-to-server-side-render-amp-pages?). To do this, there are a couple of libraries available: the Node.js-based amp-toolbox-optimizer, and the Go-based amppackager.
I was wondering if it would be possible to run amppackager on my Jekyll site’s HTML files after the Jekyll site has been built, and to serve those HTML pages instead?