This service provides access to resources stored in the GCP (Google Cloud Platform) storage bucket.
Usage:
Go to Firebase > Storage
Alternatively, go to the GCP console > Buckets > jobelhome-[production/test].appspot.com. The GCP console offers additional functionalities, such as copying the public URL.
To Upload a Resource (Any File):
Upload a resource.
The resource will be accessible via /resource/[path/directory structure]/[resource file name].
Example:
If you upload a file named test.png into the directory /test/test2, it can be accessed at:
GCP address: https://storage.googleapis.com/jobelhome-production.appspot.com/test/test2/test.png
JHP address: https://f.jobelhome.com/resource/test/test2/test.png
JHP utilizes Cloudflare for domain management. A significant advantage of this setup is that Cloudflare employs a worldwide shared cache. Therefore, for images and other large files, we leverage the JHP address to enable caching.