{"id":263,"date":"2013-04-05T12:44:15","date_gmt":"2013-04-05T12:44:15","guid":{"rendered":"http:\/\/blog.law.gmu.edu\/webservices\/?p=263"},"modified":"2013-04-05T12:44:15","modified_gmt":"2013-04-05T12:44:15","slug":"speed-up-site-performance","status":"publish","type":"post","link":"https:\/\/sls.gmu.edu\/web\/2013\/04\/05\/speed-up-site-performance\/","title":{"rendered":"Speed Up Site Performance"},"content":{"rendered":"<h1>Set HTTP Cache Headers<\/h1>\n<p><code>&lt;VirtualHost *:80&gt;<br \/>\n# Your config...<br \/>\nExpiresActive On<br \/>\n&lt;FilesMatch \"\\.(ico|gif|jpe?g|png|js|css)$\"&gt;<br \/>\nExpiresDefault \"access plus 1 year\"<br \/>\nHeader unset ETag<br \/>\nFileETag None<br \/>\nHeader unset Last-Modified<br \/>\n&lt;\/FilesMatch&gt;<br \/>\n&lt;\/VirtualHost&gt;<\/code><\/p>\n<h1>Gzip Web Server Output<\/h1>\n<p><code>&lt;VirtualHost *:80&gt;<br \/>\n# Your config...<br \/>\nAddOutputFilterByType DEFLATE text\/html text\/plain text\/xml application\/xml application\/xhtml+xml text\/javascript text\/css application\/x-javascript<br \/>\nBrowserMatch ^Mozilla\/4 gzip-only-text\/html<br \/>\nBrowserMatch ^Mozilla\/4\\.0[678] no-gzip<br \/>\nBrowserMatch \\\\bMSIE !no-gzip !gzip-only-text\/html<br \/>\n&lt;\/VirtualHost&gt;<\/code><\/p>\n<p>Source: <a href=\"http:\/\/madhatted.com\/2009\/8\/12\/faster-sites-done-faster\">Faster Sites Done Faster<\/a><\/p>\n<p>Further reading: <a href=\"http:\/\/cjohansen.no\/en\/apache\/using_a_far_future_expires_header\">Using a far future expires header<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Set HTTP Cache Headers &lt;VirtualHost *:80&gt; # Your config&#8230; ExpiresActive On &lt;FilesMatch &#8220;\\.(ico|gif|jpe?g|png|js|css)$&#8221;&gt; ExpiresDefault &#8220;access plus 1 year&#8221; Header unset ETag FileETag None Header unset Last-Modified &lt;\/FilesMatch&gt; &lt;\/VirtualHost&gt; Gzip Web Server Output &lt;VirtualHost *:80&gt; # Your config&#8230; AddOutputFilterByType DEFLATE text\/html text\/plain text\/xml application\/xml application\/xhtml+xml text\/javascript text\/css application\/x-javascript BrowserMatch ^Mozilla\/4 gzip-only-text\/html BrowserMatch ^Mozilla\/4\\.0[678] no-gzip BrowserMatch \\\\bMSIE &hellip; <a href=\"https:\/\/sls.gmu.edu\/web\/2013\/04\/05\/speed-up-site-performance\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Speed Up Site Performance&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[5,11],"tags":[12,24],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-command-lines","category-web-development","tag-apache","tag-performance"],"_links":{"self":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":0,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"wp:attachment":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/tags?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}