You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When developers try to build a private static web page(built by reg-suit) on GCP, it is more convenient to upload html/img/js files to GCS without gzip compression by reg-publish-gcs-plugin for the following reasons.
The simple solution for delivering files to limited users is building nginx on Cloud Run mounted GCS and enabling IAP for the Cloud Run service
GCS mount uses gcsfuse in the background. This tool has the constraint that the extensions of files compressed by gzip are not.gz(File transcoding). If extensions of the files compressed by gzip are .gz, we can use gzip_static_module on nginx, but it isn't. So, developers have to elaborately build the delivery system.
i.e., reg-publish-gcs-plugin uploads index.html with gzip compression to GCS, and nginx delivers the index.html file without the response header Content-Encoding: gzip, then the client displays the compressed index.html file without decompressing. As a result, the users can't read the page.
Describe the solution you'd like
The solution to the problem is that developers can select that reg-publish-gcs-plugin uploads files with or without gzip compression.
The text was updated successfully, but these errors were encountered:
takoshi
changed the title
Add disable gzip flag to reg-publish-gcs-plugin
Add disable gzip compression flag to reg-publish-gcs-plugin
Jun 28, 2024
takoshi
changed the title
Add disable gzip compression flag to reg-publish-gcs-plugin
New Feature: Add a flag disabling gzip compression to reg-publish-gcs-plugin
Jun 28, 2024
Is your feature request related to a problem? Please describe.
When developers try to build a private static web page(built by reg-suit) on GCP, it is more convenient to upload html/img/js files to GCS without gzip compression by
reg-publish-gcs-plugin
for the following reasons..gz
(File transcoding). If extensions of the files compressed by gzip are.gz
, we can use gzip_static_module on nginx, but it isn't. So, developers have to elaborately build the delivery system.reg-publish-gcs-plugin
uploadsindex.html
with gzip compression to GCS, and nginx delivers theindex.html
file without the response headerContent-Encoding: gzip
, then the client displays the compressedindex.html
file without decompressing. As a result, the users can't read the page.Describe the solution you'd like
The solution to the problem is that developers can select that
reg-publish-gcs-plugin
uploads files with or without gzip compression.The text was updated successfully, but these errors were encountered: