So my backend application architecture is the following:
- Deployed Web Api microservice on cloud run (nodejs express app)
- Configured API Gateway for token validation from client (mobile app)
Profile pictures are saved to a bucket and different users access those pictures.
I would like to implement caching as the read quotas on free tier of 1GB per day is low.
I have read about Firebase Hosting that uses CDN but i can not seem to find a way to use it without building a form of a SPA page .html or other relative static contents that refers to a front end web application.
Another way that i read here: Getting started with HTTP(S) Load Balancing for API Gateway is to create a load balancer but i just want to run a small POC for my project with minimum costs, meaning that my app is not multi region yet and i don't have an established domain.
Is there a way to use the Firebase Hosting CDN for my setup? Any other thoughts for this setup?
Thanks in advance