EDDC87F523A2406AA164290ADC9DE071
  • Internet
  • 16.07.2019
  • EN

Timothy Davis: YSlow Tuning

written by Timothy Davis, 3. June 2011
 

For you my visitor I have tuned my blog using YSlow. I’m up to a ‘B’ score. Sorry it still has a number of JavaScript and “cloud” features that keep it a heavy page for HTTP requests.

excerpt of .htaccess:

FileETag none

<IfModule mod_expires.c>
  AddOutputFilterByType DEFLATE application/x-javascript text/html text/plain text/xml text/javascript application/javascript text/css
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  #css hack
  <FilesMatch "\\.(css)$">
    SetOutputFilter DEFLATE
  </FilesMatch>
</IfModule>

<IfModule mod_deflate.c>
  SetOutputFilter DEFLATE
  ExpiresActive On
  ExpiresByType text/css "access plus 1 month 15 days 2 hours"
  ExpiresByType application/javascript "access plus 1 month 15 days 2 hours"
  ExpiresByType image/gif "access plus 1 month 15 days 2 hours"
  ExpiresByType image/jpeg "access plus 1 month 15 days 2 hours"
  ExpiresByType image/png "access plus 1 month 15 days 2 hours"
  ExpiresByType image/x-icon "access plus 1 month 15 days 2 hours"
</IfModule>

About Tim

I'm Tim Davis. My primary professional interests are web, web content, and mobile. Currently I lead services team centered around OpenText Web Site Management (FKA: RedDot) for the Americas.


Source: YSlow Tuning

© copyright 2011 by Timothy Davis

       

Downloads

 

QuickLinks

 

Channel