GCTC-NTGC / gc-digital-talent

GC Digital Talent is the new recruitment platform for digital and tech jobs in the Government of Canada. // Talents numériques du GC est la nouvelle plateforme de recrutement pour les emplois numériques et technologiques au gouvernement du Canada.
https://talent.canada.ca
GNU Affero General Public License v3.0
22 stars 9 forks source link

♻ Perf - Improve static content download performance #6162

Open petertgiles opened 1 year ago

petertgiles commented 1 year ago

♻️ Debt/Refactor

The vast majority of our page load is static content. It's not super fast and the rate can be quite variable. Can we improve the download performance of our big images and JS bundles?

🙋‍♀️ Proposed Solution

Azure has a CDN with several locations in Canada. Can we use this? https://azure.microsoft.com/en-us/products/cdn

IMTD has brought up the possibility of serving blobs from the F5 infrastructure a few times. Would that be faster?

✅ Acceptance Criteria

tristan-orourke commented 1 year ago

Can we look into CDN's after experimenting with cache policy (#6164)? I've been reading about cache policies a bit (eg this) and I wonder if giving things a Cache-Control: public will let azure or other CDNs start caching our assets on their own.

vd1992 commented 1 year ago

Icebox due to low priority and possible low return