How to deploy you Ionic app using Firebase Hosting.
Deploy your Ionic app with Firebase Hosting
Firebase provides a Hosting solution that's super easy to work with besides it is free and has many benefits for Progressive Web Apps, including fast response times thanks to CDN's, HTTPS enabled by default, and support for HTTP2 push.
Follow me while I show you how to deploy your Ionic app to Firebase.
With the Firebase CLI installed, run firebase init from within your project’s folder. This will generate a firebase.json config file for you to adjust the deployment details.
Lastly, make sure caching headers are being set correctly. Ensure your firebase.json file looks like this: