express-expeditious

flexible caching middleware for express endpoints

MIT License

Downloads
7K
Stars
51
Committers
4

Bot releases are hidden (Show)

express-expeditious - 5.1.1 Latest Release

Published by evanshortiss about 5 years ago

  • Fixes a bug that caused aborted/cancelled requests to create empty cache entries.
express-expeditious - 5.1.0

Published by evanshortiss over 5 years ago

  • Add cacheStatusHeader option to rename or disable x-expeditious-cache' headers (thank you @patrickmichalina)
  • Fix issue res.socket was undefined when attempting to write
  • Update dependencies and devDependencies for bug/security fixes
express-expeditious - 4.0.0

Published by evanshortiss almost 6 years ago

  • Fix issues related to caching binary and compressed responses.
  • Cached body is now stored as a Buffer
  • Headers are stored as a string
express-expeditious - 5.0.0

Published by evanshortiss almost 6 years ago

  • Drop support for Node.js versions less than 6.x
  • Enable Greenkeeper and update dependencies
express-expeditious - 3.3.0

Published by evanshortiss over 6 years ago

  • Update signature of genCacheKey(req) to genCacheKey(req, res)
express-expeditious - 3.2.1

Published by evanshortiss almost 7 years ago

  • Update to use [email protected] internally.
  • Use standard module for linting.
  • Remove use of xtend in favour of Object.assign.
  • Fix cache expiry time decision logic and increase coverage.
express-expeditious - 3.2.0

Published by evanshortiss over 7 years ago

  • TypeScript support added via type definitions file.
  • New example provided that uses TypeScript.
express-expeditious - 3.1.2

Published by evanshortiss over 7 years ago

  • Fix a bug where timestring values passed in opts.defaultTtl were ignored and/or did not pass verification.
express-expeditious - 3.1.1

Published by evanshortiss over 7 years ago

  • Fix bug where the socket.write callback was not fired. This affected certain
    cases such as res.render.
  • Add unit test for parse-http-response code.
  • Fix bug where x-expeditious-cache could return miss when it should be a
    hit.
  • Fix bug where sever would respond with 304 to requests without if-none-match
    header in their payload. This manifested itself if the first incoming request
    after cache expiry resulted in a 304 and would cause clients that were new, and
    therefore needed a 200 with data, to receive a 304.
express-expeditious - 3.1.0

Published by evanshortiss over 7 years ago

  • Restructure source code.
  • Minor performance improvements.
  • Add sessionAware option and withSessionAwareness() function to facilitate
    turning express-session awareness on and off as needed per route.
  • Add API sugar to easily create cache instances with different setting (see README)
  • Fix bug where transfer-encoding: chunked responses could be corrupted.
  • Add x-expeditious-cache response header to indicate cache hit or miss to
    calling clients.
  • Support timestring format for setting cache defaultTtl, e.g '1 hour'.
  • Update example code and benchmark information.
express-expeditious - 3.0.0 - Simplify initialisation. Add benchmarks. Support only node 4.4.2+. Minor perf improvement.

Published by evanshortiss over 7 years ago

express-expeditious - Use coveralls. Migrate to TravisCI. Fix session issue. Update example.

Published by evanshortiss over 7 years ago

express-expeditious - log error details on engine.set call failures

Published by evanshortiss over 7 years ago

express-expeditious - Add ETag support. Update documentation. Reduce install size using "files" in package.

Published by evanshortiss about 8 years ago