Express CDN

Dev tools

asset delivery middleware

SHOW HN2012

Express CDN

Express CDN, deliver optimized and CDN-hosted assets in Node.js

github.com

#node.js#express#cdn#asset optimization#cloudfront

41points
15comments
#574of 1,677 in 2012
Top 35%of 2012 by points

How HN took it

MixedNo clear lean

4 positive, 3 neutral or asking, 0 mixed, 2 critical, out of 9 comments about the project. Thread score +0.10.

Idea: 3 for, 1 againstExecution: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Exactly what commenters were looking for

    From 2 comments
    • This is exactly what I was looking for but couldn't find, so I was resigned into building something like this over a weekend sometime. Looks like I'll be testing this library out…
      mathrawka on HN
    • Awesome. I'm working on a project right now and was close to writing this myself.
      jameswyse on HN
  • Amazing project

    From 1 comment

Objections

  • Only supports Amazon CloudFront for CDN hosting

    From 1 comment
    • It's a shame that "CDN-Hosted" means only "Amazon CloudFront hosted".
      jahewson on HN
  • No tests included

    From 1 comment
    • No offense but even after some years still most npm don't come with any tests. Is that considered normal or to hard to do with the current javascript test libraries?
      rmoriz on HN

Requests

  • Add MaxCDN and Rackspace support

    From 1 comment
    • thx for suggestion, added to lazyweb requests planned on adding MaxCDN and Rackspace support
      niftylettuce on HN
  • Add tests

    From 2 comments
    • added tests to lazyweb requests, thx pull requests welcome
      niftylettuce on HN
    • built in 2 days, would love help with the lazywebs such as adding tests and more CDN hosts
      niftylettuce on HN
  • Split each CDN service into add-on packages

    From 1 comment
    • I would separate each service into an add-on package, eg: 'express-cdn-rackspace'
      jameswyse on HN
  • Replace url() calls inside Stylus

    From 1 comment
    • Replacing url() calls inside stylus is pretty high on my requirements, If I've got some time I'll work on that. Though perhaps that would be better implemented as a stylus…
      jameswyse on HN

Questions

  • Can image optimizers run on the application server without slowing it down?

    From 1 comment
    • Can you run image optimizers on your application server? Would that slow down everything else?
      KaoruAoiShiho on HN
  • Why most npm packages lack tests

    From 1 comment
    • No offense but even after some years still most npm don't come with any tests. Is that considered normal or to hard to do with the current javascript test libraries?
      rmoriz on HN

Alternatives named

  • A connect middleware by qzaidi (magickwand)

    From 1 comment
    • I wrote something similar, a connect middleware, but not as feature rich as this one. https://github.com/qzaidi/magickwand/blob/master/examples/cdn.js I guess there would be…
      mqzaidi on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/4198028)