GithubHelp home page GithubHelp logo

isabella232 / compress_response Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harvesthq/compress_response

0.0 0.0 0.0 84 KB

Compresses a Rails response as appropriate

Home Page: http://iridesco.com

License: MIT License

Ruby 100.00%

compress_response's Introduction

compress_response

This is a plugin based on Agile Web Development with Rails’ response compression technique. By default, all responses will be compressed when they can be.

Usage

While compression works by default, at times you may wish to avoid compression. For instance, if the user is downloading a binary from your site. In that case you, may use a before filter to avoid compression.

request.dont_compress = true

Credits

compress_response is maintained and funded by Iridesco.

License

Copyright © 2009 Iridesco. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.

compress_response's People

Contributors

bjhess avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.