Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tonthanhhung/3ea891c8df4826f852b65af6bfa0964e to your computer and use it in GitHub Desktop.
Save tonthanhhung/3ea891c8df4826f852b65af6bfa0964e to your computer and use it in GitHub Desktop.

Our web application used Java based technology for backend stuff. Everything include static resources (img, js, css, font, ect.) will be bundled inside a single war file. This webapp is kind of slow even with localhost, and even more slow with real intenet connection. After inspecting with Chrome Dev Tool, I found that all resource request have the same cache control header

Cache-Control:no-cache, no-store, max-age=0, must-revalidate
Content-Type:application/javascript
Expires:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment