Giter Site home page Giter Site logo

Comments (10)

dougwilson avatar dougwilson commented on April 20, 2024

There are ways to do this, but this module is specifically only for compression of dynamic content (or I guess compressing static content over and over again--but production is better served by off-loading static file serving from Node.js).

I don't know the names of these modules, as I simply put static content on Akamai, but if you can find them and tell me, I can always list them in the README here for future users.

from compression.

ORESoftware avatar ORESoftware commented on April 20, 2024

Ok cool, yeah I can send you over some info that I discover on this. You should compress your static assets before putting them on Akamai :)

from compression.

dougwilson avatar dougwilson commented on April 20, 2024

You should compress your static assets before putting them on Akamai :)

I do.

from compression.

ORESoftware avatar ORESoftware commented on April 20, 2024

cool - do you use a Node.js module for that compression? recommendation?

from compression.

dougwilson avatar dougwilson commented on April 20, 2024

Just the gzip command line program from bash, unfortunately, which is why I don't know the name of any grunt/gulp plugins off-hand :(

from compression.

ORESoftware avatar ORESoftware commented on April 20, 2024

np, that helps thx

from compression.

ORESoftware avatar ORESoftware commented on April 20, 2024

readme:

http://www.quora.com/If-you-use-the-highest-compression-rating-with-gzip-does-it-take-longer-to-gunzip

from compression.

ORESoftware avatar ORESoftware commented on April 20, 2024

I was looking through the code for this module/lib, and I don't see any code in index.js that has to do with running the compression on a separate thread - where can I find that code? thx

from compression.

dougwilson avatar dougwilson commented on April 20, 2024

It is part of Node.js C++ source code for the zlib module; you won't find it here. If you are interested in seeing that, you will need to ask over on the Node.js repo.

from compression.

ORESoftware avatar ORESoftware commented on April 20, 2024

ok thanks doug!

from compression.

Related Issues (20)

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.