Search code examples
firebasefirebase-hosting

Firebase Hosting: Minify Served Files / mod_pagespeed


Is it possible to implement mod_pagespeed for firebase hosting such that my HTML, CSS, and JS files are minified prior to being served?

It appears there are server side modules for both Apache and NGINX: https://developers.google.com/speed/pagespeed/module/

Thanks in advance...


Solution

  • There is no support for Apache or nginx modules with Firebase Hosting. If you want to minify some static content, you'll have to do that prior to deploying the content with the CLI.