Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Brotli with Firebase hosting

Is there a way to use Brotli compression instead of gzip with Firebase hosting? I know that Firebase will automatically compress it but so far it is only with gzip.

like image 822
Adam j Avatar asked Dec 21 '16 18:12

Adam j


People also ask

Should I use Brotli or gzip?

Gzip was originally intended to compress files and has been adapted to compressing streams so it could work on the web. Brotli on the other hand, was designed from the beginning to compress streams. This makes it a better choice for web servers to compress content before streaming it to a browser.

Can I host PHP on Firebase?

Q: Can I use Firebase with PHP? A: Yes, Firebase provides a comprehensive API for integrating the platform with your PHP projects.

Can we host dynamic website on Firebase?

Firebase Hosting provides fast and secure hosting for your web app, static and dynamic content, and microservices.

Can firebase host node js app?

Firebase Hosting supports a REST API for advanced developers to build custom workflows, like deploying through a JavaScript app. We also have a Node. js module which you can import into your Node. js apps to build advanced functionality.


1 Answers

Firebase Hosting now enables Brotli compression by default: https://firebase.googleblog.com/2020/08/firebase-hosting-new-features.html

like image 116
Kiana Avatar answered Sep 20 '22 19:09

Kiana