Advertisement
Guest User

Untitled

a guest
Sep 8th, 2014
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. Header unset ETag
  2. Header set X-UA-Compatible "IE=edge"
  3. FileETag None
  4. AddType application/octet-stream .safariextz
  5.  
  6. ## See: http://code.adonline.id.au/cross-domain-support-for-font-face/
  7. AddType application/x-font-truetype .ttf
  8. AddType application/x-font-opentype .otf
  9. AddType application/vnd.ms-fontobject .eot
  10. BrowserMatch MSIE best-standards-support
  11. Header set X-UA-Compatible IE=edge env=best-standards-support
  12.  
  13. <IfModule mod_expires.c>
  14. ExpiresActive On
  15. <FilesMatch "\.(?i:css|flv|gif|ico|jpeg|jpg|js|pdf|png|swf|txt|eot|woff|ttf|svg)$">
  16. ExpiresDefault "access plus 3 days"
  17. </FilesMatch>
  18.  
  19.  
  20. ##
  21. ## Embed JS
  22. ##
  23. ##
  24. <FilesMatch "app\-[0-9]+\.js">
  25. ExpiresDefault "access plus 1 year"
  26. </FilesMatch>
  27. <FilesMatch "app\-[0-9]+\.min\.js">
  28. ExpiresDefault "access plus 1 year"
  29. </FilesMatch>
  30.  
  31.  
  32. ##
  33. ## Embed CSS
  34. ##
  35. ##
  36. <FilesMatch "app\.css">
  37. ExpiresDefault "access plus 1 year"
  38. </FilesMatch>
  39.  
  40.  
  41. ##
  42. ## 3rd Party JS
  43. ##
  44. ##
  45. <FilesMatch "bookmarklet\.js|bookmarklet\.min\.js">
  46. ExpiresDefault "access plus 1 day"
  47. </FilesMatch>
  48. <FilesMatch "publisher\.js|publisher\.min\.js">
  49. ExpiresDefault "access plus 1 day"
  50. </FilesMatch>
  51.  
  52.  
  53. ##
  54. ## 3rd Party CSS
  55. ##
  56. ##
  57. <FilesMatch "bookmarklet\.css">
  58. ExpiresDefault "access plus 1 day"
  59. </FilesMatch>
  60. <FilesMatch "publisher\.css">
  61. ExpiresDefault "access plus 1 day"
  62. </FilesMatch>
  63. </IfModule>
  64.  
  65. <FilesMatch "\.(ttf|otf|eot)$">
  66. <IfModule mod_headers.c>
  67. Header set Access-Control-Allow-Origin "*"
  68. </IfModule>
  69. </FilesMatch>
  70.  
  71. # Favicon
  72. Redirect 301 /favicon.ico /static/app/images/icons/favicon.ico
  73. Redirect 301 /favicon.gif /static/app/images/icons/favicon.gif
  74. Redirect 301 /favicon.png /static/app/images/icons/favicon.png
  75.  
  76. # Apple icons
  77. Redirect 301 /apple-touch-icon.png /static/app/images/logos/square128x128.png
  78. Redirect 301 /apple-touch-icon-precomposed.png /static/app/images/logos/square128x128.png
  79. Redirect 301 /apple-touch-icon-76x76-precomposed.png /static/app/images/logos/square76x76.png
  80. Redirect 301 /apple-touch-icon-114x114.png /static/app/images/logos/square114x114.png
  81. Redirect 301 /apple-touch-icon-114x114-precomposed.png /static/app/images/logos/square114x114.png
  82. Redirect 301 /apple-touch-icon-120x120-precomposed.png /static/app/images/logos/square120x120.png
  83. Redirect 301 /apple-touch-icon-144x144-precomposed.png /static/app/images/logos/square144x144.png
  84. Redirect 301 /apple-touch-icon-152x152-precomposed.png /static/app/images/logos/square152x152.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement