Firebase Serve and Cache

One of the biggest problems with Progressive Web Apps and $firebase serve command is the caching.

It is painful to clear the browser caching. Here are the 2 options that can help

  1. Comment out the functions exports line and restart the $firebase serve command

This removes unnecessary routing cached in the firebase rewrite rules. Once the cached rewriting rules are cleared, uncomment those lines.

2. Clear storage

3. Update service workers on reload

--

--

I write about firebase, Dialogflow, Python and Data Science

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store