[DevTools] Add edge caching in Google frontend servers

* Set cache response headers to support Google frontend edge cache
* Set CORS headers to mimic the behaviour of the old app

Bug: 1257945
Change-Id: I8defa74380b5bb68a913505057aae60eeec019ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/chrome-devtools-frontend/+/3310109
Auto-Submit: Alexander Schulze <[email protected]>
Reviewed-by: Michael Achenbach <[email protected]>
Reviewed-by: Liviu Rau <[email protected]>
2 files changed
tree: 18f32358d6fcea86135e3393426c3d7314c7c638
  1. gae/
  2. gae_py3/
  3. gce/
  4. .gitignore
  5. codereview.settings
  6. OWNERS
  7. README.md
  8. WATCHLISTS
  9. whitespace.txt
README.md

This repo contains:

  • the infra for serving the devtools frontend from appengine (gae), written in python 2

  • the infra for uploading new frontend assets to GCS (gce).

  • the infra for serving the devtools frontend from appengine (gae_py3), migrated to python 3

The projects gae and gce will be deprecated when the transition from py2 to py3 is completed.

See go/devtools-uploader for details.