Recently I’ve been working on improving the caching within the website to improve performance for the user. After reading around, I found the following rules to be valuable.
Cache your CSS and JavaScript forever (set a long, long expiry)
Handle updates by changing the URL of your CSS and JavaScript
When caching “forever” the main problem is if [...]