looker-open-source/extension-examples

Support GZIP bundles - strict MIME type checking

bwebs opened this issue · 0 comments

The extension framework and its examples should support gzip.

Currently if trying to use in the manifest.lkml:

application: compressed_application {
  label: "Compressed Application"
  url: "https://cdn.example.com/dist/bundle.js.gz"
}

Error received:

Refused to execute script from 'https://cdn.example.com/dist/bundle.js.gz' because its MIME type ('application/gzip') is not executable, and strict MIME type checking is enabled.