ampproject / cloudflare-amp-optimizer

Implementation of AMP Optimizer for Cloudflare Workers
Apache License 2.0
23 stars 5 forks source link

Introduce AMP Optimizer #2

Closed samouri closed 3 years ago

samouri commented 3 years ago

summary First stab at adding in the AMP Optimizer to the worker. In future PRs I plan to add:

  1. Caching at both cf fetch layer and post-transform layer
  2. Unit tests and CI for handleRequest and friends.
  3. Expanding config.json to pass params over to amp optimizer: https://github.com/ampproject/cloudflare-amp-optimizer/issues/3
  4. Final step: remove our configuration from config.json and test out the full flow.