Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 [Do not merge] Add support for HTTP2 #167

Closed
wants to merge 94 commits into from

Commits on May 7, 2017

  1. feat: http2 #155

    David Longworth committed May 7, 2017
    Configuration menu
    Copy the full SHA
    124a5ef View commit details
    Browse the repository at this point in the history
  2. chore: spelling

    David Longworth committed May 7, 2017
    Configuration menu
    Copy the full SHA
    79ff549 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2017

  1. feat: simplify http2 definition

    David Longworth committed May 8, 2017
    Configuration menu
    Copy the full SHA
    781b938 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2017

  1. chore: update config doc for globalPushManifest

    David Longworth committed May 9, 2017
    Configuration menu
    Copy the full SHA
    ea6f6bc View commit details
    Browse the repository at this point in the history
  2. feat: switch http2 for spdy

    David Longworth committed May 9, 2017
    Configuration menu
    Copy the full SHA
    13b0542 View commit details
    Browse the repository at this point in the history
  3. feat: add support for pushManifest #155

    David Longworth committed May 9, 2017
    Configuration menu
    Copy the full SHA
    75bee8d View commit details
    Browse the repository at this point in the history
  4. style: code readability

    David Longworth committed May 9, 2017
    Configuration menu
    Copy the full SHA
    e2ba87d View commit details
    Browse the repository at this point in the history
  5. feat: wait for readStream before pushing

    David Longworth committed May 9, 2017
    Configuration menu
    Copy the full SHA
    6aab91b View commit details
    Browse the repository at this point in the history
  6. chore: remove debug package

    David Longworth committed May 9, 2017
    Configuration menu
    Copy the full SHA
    b6a510a View commit details
    Browse the repository at this point in the history
  7. chore: add default image caching

    David Longworth committed May 9, 2017
    Configuration menu
    Copy the full SHA
    266f313 View commit details
    Browse the repository at this point in the history
  8. chore: remove media folder

    David Longworth committed May 9, 2017
    Configuration menu
    Copy the full SHA
    439b7b8 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. fix: debug message update

    David Longworth committed May 10, 2017
    Configuration menu
    Copy the full SHA
    d9807ec View commit details
    Browse the repository at this point in the history
  2. fix: print server name when http2

    David Longworth committed May 10, 2017
    Configuration menu
    Copy the full SHA
    c829e41 View commit details
    Browse the repository at this point in the history
  3. feat: http2 add priority support & cleanup

    David Longworth committed May 10, 2017
    Configuration menu
    Copy the full SHA
    7120446 View commit details
    Browse the repository at this point in the history
  4. feat: check stream exists

    David Longworth committed May 10, 2017
    Configuration menu
    Copy the full SHA
    a9f3709 View commit details
    Browse the repository at this point in the history
  5. fix: remove push tidy

    David Longworth committed May 10, 2017
    Configuration menu
    Copy the full SHA
    068c3ba View commit details
    Browse the repository at this point in the history
  6. feat: test for compressible

    David Longworth committed May 10, 2017
    Configuration menu
    Copy the full SHA
    ac8b993 View commit details
    Browse the repository at this point in the history
  7. fix: use http2 & disable gzip

    David Longworth committed May 10, 2017
    Configuration menu
    Copy the full SHA
    a68de6d View commit details
    Browse the repository at this point in the history
  8. chore: disable gzip

    David Longworth committed May 10, 2017
    Configuration menu
    Copy the full SHA
    582d03e View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. style: single quotes

    David Longworth committed May 11, 2017
    Configuration menu
    Copy the full SHA
    ba04050 View commit details
    Browse the repository at this point in the history
  2. feat: new servePublic middleware

    David Longworth committed May 11, 2017
    Configuration menu
    Copy the full SHA
    0a21c46 View commit details
    Browse the repository at this point in the history
  3. fix: remove unused code

    David Longworth committed May 11, 2017
    Configuration menu
    Copy the full SHA
    60b4cc2 View commit details
    Browse the repository at this point in the history
  4. chore: organise

    David Longworth committed May 11, 2017
    Configuration menu
    Copy the full SHA
    98b8933 View commit details
    Browse the repository at this point in the history
  5. feat: http2 asset compression & push

    David Longworth committed May 11, 2017
    Configuration menu
    Copy the full SHA
    a211d16 View commit details
    Browse the repository at this point in the history
  6. chore: remove titlecase on mobile name

    David Longworth committed May 11, 2017
    Configuration menu
    Copy the full SHA
    d9b479e View commit details
    Browse the repository at this point in the history

Commits on May 14, 2017

  1. Configuration menu
    Copy the full SHA
    5617cf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8568dbb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bee2078 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8ead3a1 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2017

  1. Merge branch 'feature/process-routes-after-middleware' of https://git…

    …hub.com/dadi/web into feature/http2
    
    # Conflicts:
    #	dadi/lib/index.js
    David Longworth committed May 22, 2017
    Configuration menu
    Copy the full SHA
    53efa6f View commit details
    Browse the repository at this point in the history
  2. feat: combine asset serving function #167

    David Longworth committed May 22, 2017
    Configuration menu
    Copy the full SHA
    5fd8710 View commit details
    Browse the repository at this point in the history
  3. feat: only allow GET and HEAD requests on assets

    David Longworth committed May 22, 2017
    Configuration menu
    Copy the full SHA
    c60faeb View commit details
    Browse the repository at this point in the history

Commits on May 23, 2017

  1. fix: remove GET and HEAD restrictions

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    d914b57 View commit details
    Browse the repository at this point in the history
  2. feat: use http2 for https support

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    a71c2dd View commit details
    Browse the repository at this point in the history
  3. feat: public folder tests

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    5ba78aa View commit details
    Browse the repository at this point in the history
  4. fix: edge cases

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    a67cfe7 View commit details
    Browse the repository at this point in the history
  5. feat: explicity when public is run as middleware

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    a2bcd43 View commit details
    Browse the repository at this point in the history
  6. feat: test for http2 push

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    e4b372f View commit details
    Browse the repository at this point in the history
  7. feat: add public folder to test helper

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    aa2e210 View commit details
    Browse the repository at this point in the history
  8. chore: tidy unused public functions

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    ae02a2d View commit details
    Browse the repository at this point in the history
  9. feat: tests for asset serving

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    b369359 View commit details
    Browse the repository at this point in the history
  10. fix: catch test errors

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    72cea7b View commit details
    Browse the repository at this point in the history
  11. fix: h2 test

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    5af2889 View commit details
    Browse the repository at this point in the history
  12. fix: h2 test

    David Longworth committed May 23, 2017
    Configuration menu
    Copy the full SHA
    86d1e4d View commit details
    Browse the repository at this point in the history

Commits on May 24, 2017

  1. fix: test timeout

    David Longworth committed May 24, 2017
    Configuration menu
    Copy the full SHA
    ebc8326 View commit details
    Browse the repository at this point in the history
  2. fix: skip test

    David Longworth committed May 24, 2017
    Configuration menu
    Copy the full SHA
    0f2d645 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2017

  1. fix: servePublic middleware

    David Longworth committed May 25, 2017
    Configuration menu
    Copy the full SHA
    ea87d5a View commit details
    Browse the repository at this point in the history
  2. fix: servePublic middleware

    David Longworth committed May 25, 2017
    Configuration menu
    Copy the full SHA
    890285c View commit details
    Browse the repository at this point in the history
  3. fix: servePublic middleware

    David Longworth committed May 25, 2017
    Configuration menu
    Copy the full SHA
    d6bafe2 View commit details
    Browse the repository at this point in the history
  4. fix: set headers once and sterilize file path

    David Longworth committed May 25, 2017
    Configuration menu
    Copy the full SHA
    8583706 View commit details
    Browse the repository at this point in the history
  5. fix: set etag correctly

    David Longworth committed May 25, 2017
    Configuration menu
    Copy the full SHA
    3065a92 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2017

  1. fix: add missing destroy package

    David Longworth committed May 26, 2017
    Configuration menu
    Copy the full SHA
    b684a8f View commit details
    Browse the repository at this point in the history

Commits on May 29, 2017

  1. feat: spdy

    David Longworth committed May 29, 2017
    Configuration menu
    Copy the full SHA
    7013ada View commit details
    Browse the repository at this point in the history
  2. fix: header order

    David Longworth committed May 29, 2017
    Configuration menu
    Copy the full SHA
    ce7f37e View commit details
    Browse the repository at this point in the history

Commits on May 30, 2017

  1. feat: simplify error trap

    David Longworth committed May 30, 2017
    Configuration menu
    Copy the full SHA
    55c4b44 View commit details
    Browse the repository at this point in the history
  2. fix: let to var

    David Longworth committed May 30, 2017
    Configuration menu
    Copy the full SHA
    6b879b6 View commit details
    Browse the repository at this point in the history
  3. feat: response compression #174

    David Longworth committed May 30, 2017
    Configuration menu
    Copy the full SHA
    46929be View commit details
    Browse the repository at this point in the history
  4. fix: tests (supertest has no br compatability)

    David Longworth committed May 30, 2017
    Configuration menu
    Copy the full SHA
    2812a5f View commit details
    Browse the repository at this point in the history
  5. fix: node-uuid warning on npm install

    David Longworth committed May 30, 2017
    Configuration menu
    Copy the full SHA
    73723a4 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2017

  1. feat: cache gzip/br page response

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    2db16e3 View commit details
    Browse the repository at this point in the history
  2. feat: add canCompress helper

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    ed57291 View commit details
    Browse the repository at this point in the history
  3. chore: tidy

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    655e3bd View commit details
    Browse the repository at this point in the history
  4. feat: cache file extensions

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    587aac7 View commit details
    Browse the repository at this point in the history
  5. chore: tidy unused vars

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    37f88ac View commit details
    Browse the repository at this point in the history
  6. feat: init cache before serving assets

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    4c7b263 View commit details
    Browse the repository at this point in the history
  7. feat: add etag to cache files

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    f44b8a0 View commit details
    Browse the repository at this point in the history
  8. chore: tidy unused css

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    7fee407 View commit details
    Browse the repository at this point in the history
  9. chore: grammar

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    579bb06 View commit details
    Browse the repository at this point in the history
  10. fix: test

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    cdd63e3 View commit details
    Browse the repository at this point in the history
  11. fix: check cache is a function

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    7c1e89d View commit details
    Browse the repository at this point in the history
  12. fix: simplfy trail slash removal

    David Longworth committed May 31, 2017
    Configuration menu
    Copy the full SHA
    9f1320c View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2017

  1. feat: change redirect status code #173

    David Longworth committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    3e154a7 View commit details
    Browse the repository at this point in the history
  2. feat: cache file extensions

    David Longworth committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    94ab1c4 View commit details
    Browse the repository at this point in the history
  3. fix: pass cache layer to clearCache helper

    David Longworth committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    32ef5b2 View commit details
    Browse the repository at this point in the history
  4. fix: catch cache buffer errors

    David Longworth committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    e971621 View commit details
    Browse the repository at this point in the history
  5. chore: remove console.log

    David Longworth committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    fa32d6f View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2017

  1. fix: pass current cache instance to helper

    David Longworth committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    0d1f52f View commit details
    Browse the repository at this point in the history
  2. fix: cache flush test

    Cache files now show their compression in their extension
    David Longworth committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    e519642 View commit details
    Browse the repository at this point in the history
  3. fix: update redirect test #173

    David Longworth committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    e1a8abc View commit details
    Browse the repository at this point in the history
  4. fix: update redirect test #173

    David Longworth committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    e21d0eb View commit details
    Browse the repository at this point in the history
  5. feat: primative br test

    David Longworth committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    1c0aa91 View commit details
    Browse the repository at this point in the history
  6. feat: test for accept-encoding

    David Longworth committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    485cb30 View commit details
    Browse the repository at this point in the history
  7. chore: coverage

    David Longworth committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    c19a127 View commit details
    Browse the repository at this point in the history
  8. chore: fix double var

    David Longworth committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    0c40dcf View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2017

  1. feat: make http2 optional

    David Longworth committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    da37380 View commit details
    Browse the repository at this point in the history
  2. fix: remove noisy console.log

    David Longworth committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    9500578 View commit details
    Browse the repository at this point in the history
  3. feat: add content-length headers to cache file

    David Longworth committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    1502eab View commit details
    Browse the repository at this point in the history
  4. feat: add content-length to all responses

    David Longworth committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    c21d04f View commit details
    Browse the repository at this point in the history
  5. Merge branch 'feature/http2' of https://github.com/dadi/web into feat…

    …ure/http2
    David Longworth committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    219d1f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2017

  1. style: spacing

    David Longworth committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    0f2f40e View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2017

  1. feat: add default long cache for favicon

    David Longworth committed Jun 9, 2017
    Configuration menu
    Copy the full SHA
    eec93f7 View commit details
    Browse the repository at this point in the history
  2. feat: cache support

    David Longworth committed Jun 9, 2017
    Configuration menu
    Copy the full SHA
    1c37dc8 View commit details
    Browse the repository at this point in the history
  3. chore: remove console.log

    David Longworth committed Jun 9, 2017
    Configuration menu
    Copy the full SHA
    93f9039 View commit details
    Browse the repository at this point in the history
  4. fix: blocking file processing

    David Longworth committed Jun 9, 2017
    Configuration menu
    Copy the full SHA
    03fa5d5 View commit details
    Browse the repository at this point in the history