Skip to content

Instantly share code, notes, and snippets.

@jcoyne
Created January 18, 2013 20:24
Show Gist options
  • Save jcoyne/4568225 to your computer and use it in GitHub Desktop.
Save jcoyne/4568225 to your computer and use it in GitHub Desktop.
mjgiarlo: I noticed you aren't using mod_deflate on scholarsphere's web server.
Compressing the following resources with gzip could reduce their transfer size by 431.2KiB (71% reduction).
• Compressing https://scholarsphere.psu.edu/assets/application-5dede70da34d4edfb933650cd332af32.js could save 225.6KiB (71% reduction).
• Compressing https://scholarsphere.psu.edu/assets/application-e16714cb31d1271c456c85a3e9e7ddcd.css could save 119.8KiB (82% reduction).
• Compressing https://scholarsphere.psu.edu/assets/Lato-Light.ttf could save 66.6KiB (55% reduction).
• Compressing https://scholarsphere.psu.edu/ could save 19.3KiB (79% reduction).
mjgiarlo: also cache headers for assets:
<LocationMatch "^/assets/.*$">
Header unset ETag
FileETag None
# RFC says only cache for 1 year
ExpiresActive On
ExpiresDefault "access plus 1 year"
</LocationMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment