[FOLIO-2717] Stripes not gzipped in reference environments. Created: 10/Aug/20 Updated: 10/Aug/20 Resolved: 10/Aug/20 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | TBD |
| Reporter: | John Malconian | Assignee: | John Malconian |
| Resolution: | Done | Votes: | 0 |
| Labels: | devops-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Sprint: | DevOps: Sprint 95 |
| Development Team: | FOLIO DevOps |
| Description |
|
As reported by Zak Burke, recent stripes bundles are 40+MB in size and it doesn't appear that server-side compression is enabled in FOLIO reference builds. |
| Comments |
| Comment by John Malconian [ 10/Aug/20 ] |
|
Enabled server-side compression in the nginx/docker configuration used to server up stripes bundles in FOLIO reference environments by modifying the nginx.conf.j2 template in the stripes-docker folio-ansible role. Added the following parameters to the nginx config and verified that the stripes bundle itself is compressed over the network. The file is now 9.9MB transferred. gzip on; gzip_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css; |