Skip to content

Comments

fix: nginx gzip, code chunk optimization Refs: KER-588#1252

Merged
mikkojamG merged 1 commit intomainfrom
fix/KER-588-compression-and-optimization
Feb 24, 2026
Merged

fix: nginx gzip, code chunk optimization Refs: KER-588#1252
mikkojamG merged 1 commit intomainfrom
fix/KER-588-compression-and-optimization

Conversation

@mikkojamG
Copy link
Contributor

@mikkojamG mikkojamG commented Feb 12, 2026

  • Enable gzip compression on nginx
  • Add some chunk optimizations to reduce JS download sizes

KER-588
KERROKANTASI-UI-4C

@mikkojamG mikkojamG requested a review from a team as a code owner February 12, 2026 10:03
@mikkojamG mikkojamG force-pushed the fix/KER-588-compression-and-optimization branch from 26f4b53 to 500a578 Compare February 12, 2026 10:07
@mikkojamG mikkojamG requested a review from Copilot February 12, 2026 10:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables gzip compression in the production Nginx config and introduces Rollup chunk-splitting rules in Vite to reduce/optimize JS bundle download sizes.

Changes:

  • Add manualChunks rules to split common dependencies into dedicated bundles.
  • Enable gzip (and related) settings in .prod/nginx.conf for compressed responses.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
vite.config.mjs Adds Rollup manualChunks configuration to group dependencies into separate chunks.
.prod/nginx.conf Enables gzip compression and related directives for production Nginx.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mikkojamG mikkojamG force-pushed the fix/KER-588-compression-and-optimization branch 2 times, most recently from b8d4102 to 63b2df9 Compare February 12, 2026 10:16
@azure-pipelines
Copy link

KERROKANTASI-UI branch is deployed to platta: https://kerrokantasi-pr1252-ui.dev.hel.ninja 🚀🚀🚀

@azure-pipelines
Copy link

e2e tests result is success for https://kerrokantasi-pr1252-ui.dev.hel.ninja 😆🎉🎉🎉

@mikkojamG mikkojamG force-pushed the fix/KER-588-compression-and-optimization branch from 63b2df9 to fa8ca8b Compare February 24, 2026 09:25
@sonarqubecloud
Copy link

@azure-pipelines
Copy link

KERROKANTASI-UI branch is deployed to platta: https://kerrokantasi-pr1252-ui.dev.hel.ninja 🚀🚀🚀

@azure-pipelines
Copy link

e2e tests result is success for https://kerrokantasi-pr1252-ui.dev.hel.ninja 😆🎉🎉🎉

@mikkojamG mikkojamG merged commit 129e039 into main Feb 24, 2026
27 checks passed
@mikkojamG mikkojamG deleted the fix/KER-588-compression-and-optimization branch February 24, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants