Accept-Encoding: Gzip
Posted on
I was testing how fast this site is. PageSpeed Insights gave me a 100 score but suggested that I should enable compression.
It turns out all I need to do is to turn on "Compress objects automatically" on my CloudFront behavior. There is a StackOverflow page saying that I'll need to add a custom CORS policy to the origin but it turns out not the case anymore by the time this post is written.
Now the site is 25% smaller upon serving. This is lower than expected because at this point the favicon itself is the largest content. I really need to write more.