Increase Cache-Control for avatars which are delivered from GitLab
Problem to solve
It will increase the page load time even people have slow internet
Proposal
Increase Cache-Control for avatars which are delivered from GitLab as Gravatar Does
GitLab | Gravatar |
---|---|
Example: Image, Canary | Example: Image |
cache-control: private, max-age=0 |
cache-control: max-age=300 |
Affected areas
- User avatars
- Project avatars
- Group avatars
- Hosted images
Edited by Ghost User