Giter Site home page Giter Site logo

Comments (7)

ngryman avatar ngryman commented on June 3, 2024 1

TBH, h5bp is unfortunately deprecated now, and I'm thinking about a complete rewrite that makes more sense for nowadays node servers. I will be keen on investing time on this instead of debugging the old codebase.

@mbana What features do you need from this module?

from server-configs-node.

ngryman avatar ngryman commented on June 3, 2024

Hi, which version of express are you using?

from server-configs-node.

BrentonCozby avatar BrentonCozby commented on June 3, 2024

4.14.0. I'm using it in an app created by express-generator and it's the first middleware. App works when I comment out the h5bp middleware.

from server-configs-node.

ngryman avatar ngryman commented on June 3, 2024

This middleware is unfortunately only compatible with express 3.x. 4.x brings breaking changes that probably prevent h5bp to function properly. You can either downgrade express or choose another middleware. Sorry about this, I will add it as a peer dependency.

from server-configs-node.

mbana avatar mbana commented on June 3, 2024

hi, just trying this out and going through the issue list.
so it turns out you need [email protected]? ok, so i tried that and installing [email protected] (which requires a native compilation that fails).

could you perhaps put this into a Docker container or try it out on a new machine so that i remain sane.

ta,

from server-configs-node.

mbana avatar mbana commented on June 3, 2024

hi, you're linked to on this page:

https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching

Note: Tip: The HTML5 Boilerplate project contains sample configuration files for all the most popular servers with detailed comments for each configuration flag and setting. Find your favorite server in the list, look for the appropriate settings, and copy/confirm that your server is configured with the recommended settings.

can you then please update the README as other people might try to do the same.

ta,

from server-configs-node.

ngryman avatar ngryman commented on June 3, 2024

@mbana Thanks for the info. I will mention it.

from server-configs-node.

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.