Improve Your Page Experience With AMP And Cloudflare Workers Unbound
https://blog.cloudflare.comThis post shows you how you can optimize the page experience of your AMP pages by running AMP Optimizer in a Cloudflare Worker.
There are two AMP Optimizer versions available: one for NodeJS and one for PHP. Both take an AMP HTML document as input and turn it into an optimized AMP HTML document. Depending on when your pages are created, one of these needs to be run either as part of your build system or in on your backend as part of your rendering pipeline.
With the Cloudflare Worker integration for AMP Optimizer you can seamlessly optimize all your AMP pages. You can find installation instructions on theΒ Github repository.