pwrdrvr/microapps-core

Edge - Versionless static file routing (optional)

huntharo opened this issue · 0 comments

Motivations

  • Shared .js files (e.g. for a menu) need to have a versionless path that can be embedded in many apps
  • favicon.ico files can benefit from being versionless

To-Do

  • Consider 302 routing to current version of file
  • Consider rewriting request in Origin Request to point to current version of file and adding a header to the request that is part of the cache key (if possible) so the file can be served from edge if that version was already cached