{"id":24851,"date":"2014-09-04T00:00:00","date_gmt":"2014-09-04T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/optimizing-for-bandwidth-on-apache-and-nginx\/"},"modified":"2014-09-04T00:00:00","modified_gmt":"2014-09-04T00:00:00","slug":"optimizing-for-bandwidth-on-apache-and-nginx","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/optimizing-for-bandwidth-on-apache-and-nginx\/","title":{"rendered":"Optimizing for Bandwidth on Apache and Nginx"},"content":{"rendered":"<p class=\"gargardate\">Thursday, September 04, 2014<\/p>\n<p>\n  Everyone wants to use less bandwidth: hosts want lower bills, mobile users want to stay under<br \/>\n  their limits, and no one wants to wait for unnecessary bytes. The web is full of opportunities to<br \/>\n  save bandwidth: pages served without gzip, stylesheets and JavaScript served unminified, and<br \/>\n  unoptimized images, just to name a few.\n<\/p>\n<p>\n  So why isn&#8217;t the web already optimized for bandwidth? If these savings are good for everyone then<br \/>\n  why haven&#8217;t they been fixed yet? Mostly it&#8217;s just been too much hassle. Web designers are<br \/>\n  encouraged to &#8220;save for web&#8221; when exporting their artwork, but they don&#8217;t always remember.<br \/>\n  JavaScript programmers don&#8217;t like working with minified code because it makes debugging harder.<br \/>\n  You can set up a custom pipeline that makes sure each of these optimizations is applied to your<br \/>\n  site every time as part of your development or deployment process, but that&#8217;s a lot of work.\n<\/p>\n<p>\n  An easy solution for web users is to use an optimizing proxy, like<br \/>\n  <a href=\"https:\/\/developer.chrome.com\/multidevice\/data-compression\" class=\"external-link\">Chrome&#8217;s<\/a>.<br \/>\n  When users opt into this service their HTTP traffic goes via Google&#8217;s proxy, which optimizes their<br \/>\n  page loads and cuts bandwidth usage by 50%. While this is great for these users, it&#8217;s limited to<br \/>\n  people using Chrome who turn the feature on and it can&#8217;t optimize HTTPS traffic.\n<\/p>\n<p>\n  With<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\/optimize-for-bandwidth\" class=\"external-link\">Optimize for Bandwidth<\/a>,<br \/>\n  the PageSpeed team is bringing this same technology to webmasters so that everyone can benefit:<br \/>\n  users of other browsers, secure sites, desktop users, and site owners who want to bring down their<br \/>\n  outbound traffic bills. Just install the<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\" class=\"external-link\">PageSpeed module<\/a><br \/>\n  on your Apache or Nginx server<sup><a href=\"#1\">1<\/a><\/sup>,<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\/optimize-for-bandwidth\" class=\"external-link\">turn on<\/a><br \/>\n  Optimize for Bandwidth in your configuration, and PageSpeed will do the rest.\n<\/p>\n<p>\n  If you later decide you&#8217;re interested in PageSpeed&#8217;s more advanced optimizations, from<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\/filter-cache-extend\" class=\"external-link\">cache extension<\/a><br \/>\n  and<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\/filter-js-inline\" class=\"external-link\">inlining<\/a><br \/>\n  to the more aggressive<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\/filter-lazyload-images\" class=\"external-link\">image lazyloading<\/a><br \/>\n  and<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\/filter-js-defer\" class=\"external-link\">defer JavaScript<\/a>,<br \/>\n  it&#8217;s just a matter of enabling them in your PageSpeed configuration.\n<\/p>\n<p>\n  Learn more about<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\" class=\"external-link\">installing PageSpeed<\/a> oder<br \/>\n  <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\/optimize-for-bandwidth\" class=\"external-link\">enabling Optimize for Bandwidth<\/a>.\n<\/p>\n<p class=\"byline-author\">Posted by Jeff Kaufman, Make the Web Fast<\/p>\n<p>\n  <a name=\"1\"><\/a>1: If you&#8217;re using a different web server, consider running PageSpeed on an<br \/>\n  Apache or Nginx proxy. And it&#8217;s all<br \/>\n  <a href=\"https:\/\/github.com\/apache\/incubator-pagespeed-mod\" class=\"external-link\">open source<\/a>,<br \/>\n  with porting efforts underway for<br \/>\n  <a href=\"https:\/\/www.iispeed.com\/\" class=\"external-link\">IIS<\/a>,<br \/>\n  <a href=\"https:\/\/www.atspagespeed.com\/\" class=\"external-link\">ATS<\/a>, and others.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thursday, September 04, 2014 Everyone wants to use less bandwidth: hosts want lower bills, mobile users want to stay under their limits, and no one wants to wait for unnecessary bytes. The web is full of opportunities to save bandwidth: pages served without gzip, stylesheets and JavaScript served unminified, and unoptimized images, just to name [&hellip;]<\/p>\n","protected":false},"menu_order":83683,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-24851","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-blog"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/24851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/24851\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27039"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=24851"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=24851"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=24851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}