12 Nov '13, 5pm

Compressing HTTP Responses with Rack::Deflater

# spec/integration/compression_spec.rb require 'spec_helper' feature 'Compression' do scenario "a visitor has a browser that supports compression" do ['deflate','gzip', 'deflate,gzip','gzip,deflate'].each do|compression_method| get root_path, {}, {'HTTP_ACCEPT_ENCODING' => compression_method } response.headers['Content-Encoding'].should be end end scenario "a visitor's browser does not support compression" do get root_path response.headers['Content-Encoding'].should_not be end end

Full article: http://robots.thoughtbot.com/content-compression-with-rac...

Tweets

I just faved Honey, I shrunk the internet! - Co...

robots.thoughtbot.com 12 Nov '13, 6pm

# spec/integration/compression_spec.rb require 'spec_helper' feature 'Compression' do scenario "a visitor has a browser th...

#RubyFlow Compressing HTTP Responses with Gzip ...

rubyflow.com 13 Nov '13, 8am

Compressing HTTP Responses with Gzip and Rack::Deflater Posted by croaky on November 13, 2013 — 0 comments Speed is key. T...

@koobs @zeeg yeah ... its a deliberate design d...

unicorn.bogomips.org 13 Nov '13, 9am

Being a server that only runs on Unix-like platforms, unicorn is strongly tied to the Unix philosophy of doing one thing a...

How to consistently produce amazing content? 8 top bloggers and content marketers know the answer

How to consistently produce amazing content? 8 ...

link-assistant.com 11 Nov '13, 1pm

We all aim for great content. Bloggers, SEOs, content strategists, marketers, small business owners - we all want to add v...

YouTube: 33% of Total View Time Is Long Form Content

YouTube: 33% of Total View Time Is Long Form Co...

reelseo.com 13 Nov '13, 10am

YouTube has spent the last couple of years encouraging original, broadcast quality programming. They have invested in a nu...

Our new #CostaRica Cerro Paldo (Red Honey) is n...

klatchroasting.com 14 Nov '13, 1am

Our new Cerro Paldo red honey is an outstanding crop! This Costa Rican brew has a delicate floral aroma along with a rich,...

Louis Vuitton broadens Pass app’s reach via New York Times mobile ad

Louis Vuitton broadens Pass app’s reach via New...

luxurydaily.com 12 Nov '13, 8am

Landing page of Louis Vuitton ad on The NY Times mobile app French fashion label Louis Vuitton is exercising the capabilit...

Know Your Regulations Before You Design Medical...

electronicdesign.com 11 Nov '13, 7pm

If you ever get involved in designing medical device electronics, you will find yourself in a complicated maze of regulati...

My Internet Marketing via Pinterest Journey - B...

blackhatworld.com 03 Nov '13, 3am

Pinterest followers: 2,443 on 1 account Number of accounts: 1 Monetizing method: Dropshipping real items Assets: Ecommerce...