bcgov / bcgov/entity

Implement build compression in the server

Open
#2,588 0 comments 0 reactions 0 assignees View on GitHub
techdebt
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

## What is the problem?
* Size of the build files are large, which slows down browser's the initial loading of the application.

## What is the impact?
* first time loading of the application will be slow for the end users

## Proposed solution
* Implement compression with gzip or brotli(compression-webpack-plugin)

Note: need to check the support for brotli with Caddy server

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the JavaScript/Webpack build configuration and reviewing how the server currently serves generated build files. Check the Caddy server's Brotli support and compare gzip or Brotli options using compression-webpack-plugin; done means the build is compressed and the application loads correctly in supported browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.