Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance and caching #971

Merged
merged 15 commits into from
Dec 5, 2024
Merged

Performance and caching #971

merged 15 commits into from
Dec 5, 2024

Conversation

chrispymm
Copy link
Contributor

@chrispymm chrispymm commented Nov 28, 2024

This PR adds several changes to improve performance of the design system site.

  • Minifies JS
  • Minifies CSS
  • Adds revisioning to all images
  • Adds nginx headers to gzip responses
  • Adds nginx headers to add far future expiry to images, css and js
  • Adds nginx headers to disable caching of html files

The latter point, although technically detrimental to performance, solves the problem of browsers caching our static html files and then not updating when we deploy changes.

@chrispymm chrispymm requested a review from a team as a code owner November 28, 2024 15:53
@chrispymm chrispymm added the staging:request Add this label to request a staging environment for a pull request label Nov 28, 2024
Copy link

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request labels Nov 28, 2024
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Nov 28, 2024
Copy link

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request labels Nov 28, 2024
@chrispymm chrispymm force-pushed the performance-and-caching branch from 6db0074 to a8b5440 Compare November 28, 2024 18:02
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Nov 28, 2024
Copy link

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request labels Nov 28, 2024
@chrispymm chrispymm force-pushed the performance-and-caching branch from a8b5440 to 2fbc4fe Compare November 28, 2024 18:09
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Nov 28, 2024
Copy link

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request labels Nov 28, 2024
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Nov 28, 2024
Copy link

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request labels Nov 28, 2024
@chrispymm chrispymm force-pushed the performance-and-caching branch from 3477a16 to 8b9009f Compare November 28, 2024 18:41
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Nov 28, 2024
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Dec 2, 2024
Copy link

github-actions bot commented Dec 2, 2024

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request labels Dec 2, 2024
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Dec 2, 2024
Copy link

github-actions bot commented Dec 2, 2024

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request labels Dec 2, 2024
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Dec 3, 2024
Copy link

github-actions bot commented Dec 3, 2024

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request labels Dec 3, 2024
@chrispymm chrispymm added staging:request Add this label to request a staging environment for a pull request and removed staging:active Automatic label added when the PR is on the staging environment labels Dec 3, 2024
Copy link

github-actions bot commented Dec 3, 2024

🚀 Deploying to staging environment

Username: staging, Password: moj

@github-actions github-actions bot added staging:active Automatic label added when the PR is on the staging environment and removed staging:request Add this label to request a staging environment for a pull request staging:active Automatic label added when the PR is on the staging environment labels Dec 3, 2024
@chrispymm chrispymm merged commit 86383f1 into main Dec 5, 2024
19 checks passed
@chrispymm chrispymm deleted the performance-and-caching branch December 5, 2024 13:16
@gregtyler
Copy link
Contributor

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants