Let's say i have a web/mobile app running firebase firestore database.
My app is set to serve mostly dynamic content fully stored in firestore.
So we are talking about caching dynamic content
If a user load Page A, it's will make 1 request to firestore (for example). If this user go to Page B and then go back to Page A 5 minutes later, i don't want the app to make another request if the content has not changed.
I heard about http cache-control
headers but my concern is. If the cache control go check firestore to learn if the content is still the same, will this operation be counted as a request by firestore ?