docs/middleware
James M. Greene 4dea2779f3
More explicit terminations of middleware (#17666)
* Be more explicit about next/res.send ending middleware functions

* Add note explaining the one exception
2021-02-03 16:38:41 -06:00
..
contextualizers Convert .rc* versions to proper semver, then compare (#17600) 2021-02-01 19:13:35 +00:00
redirects Hello git history spelunker! 2020-09-27 14:10:11 +02:00
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
archived-enterprise-versions-assets.js More explicit terminations of middleware (#17666) 2021-02-03 16:38:41 -06:00
archived-enterprise-versions.js More explicit terminations of middleware (#17666) 2021-02-03 16:38:41 -06:00
block-robots.js Block indexing not crawling (#17044) 2020-12-17 11:57:18 -08:00
breadcrumbs.js add helper to middleware/breadcrumbs 2021-01-14 17:07:09 -05:00
categories-for-support-team.js Use async file reads in categories-for-support-team middleware (#16781) 2020-12-09 15:52:33 +00:00
connect-datadog.js Use connectDatadog(e) (#16888) 2020-12-11 13:13:18 -05:00
context.js Reduce minified JS bundle size from 189kb to 73kb (#17552) 2021-01-28 22:12:04 +00:00
cookie-parser.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
cors.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
csp.js add azure to content security policy (#17649) 2021-02-03 10:49:40 -08:00
csrf-route.js Send CSRF tokens over XHR (#15778) 2020-09-28 09:44:14 -07:00
csrf.js Send CSRF tokens over XHR (#15778) 2020-09-28 09:44:14 -07:00
detect-language.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
dev-toc.js add the barest minimal dev-toc 2020-11-13 14:31:59 -05:00
disable-caching-on-safari.js More explicit terminations of middleware (#17666) 2021-02-03 16:38:41 -06:00
early-access-breadcrumbs.js account for early access 2021-01-15 10:49:12 -05:00
enterprise-server-releases.js add Developer deprecated docs to the list and also add a mini-toc 2020-12-08 10:38:39 -05:00
events.js Don't bork locally without Hydro (#16361) 2020-11-05 19:06:46 +00:00
featured-links.js update refs to reinstated findPage() 2021-01-13 16:49:35 -05:00
find-page.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
handle-csrf-errors.js Improve performance of csrf errors (#16136) 2020-10-20 11:42:05 -04:00
handle-errors.js Improve performance of csrf errors (#16136) 2020-10-20 11:42:05 -04:00
handle-invalid-paths.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
index.js Cache more assets both in browser + Fastly (#17663) 2021-02-03 22:16:54 +00:00
learning-track.js handle edge case 2021-01-25 16:35:15 -05:00
loaderio-verification.js Hello git history spelunker! 2020-09-27 14:10:11 +02:00
rate-limit.js Make rate limiter configuration verbose (#17184) 2021-01-07 16:40:50 +00:00
record-redirect.js Don't record 304 redirects (#16245) 2020-11-03 22:21:12 +00:00
render-page.js More explicit terminations of middleware (#17666) 2021-02-03 16:38:41 -06:00
req-utils.js Sending events to POST /events endpoint (#15796) 2020-10-08 09:24:41 -07:00
robots.js Block indexing not crawling (#17044) 2020-12-17 11:57:18 -08:00
search.js Reduce minified JS bundle size from 189kb to 73kb (#17552) 2021-01-28 22:12:04 +00:00
set-fastly-cache-headers.js Cleanup the testing and old code related to Fastly headers (#17643) 2021-02-03 10:43:00 -06:00
set-fastly-surrogate-key.js More explicit terminations of middleware (#17666) 2021-02-03 16:38:41 -06:00
trigger-error.js Fix a bunch of random typos (#17129) 2021-01-05 16:07:27 +00:00
webpack.js Sm0ller webpack output (#16543) 2020-11-19 13:06:20 -05:00

README.md

Middleware

Each file in this directory exports an Express Middleware function.

For more info, see https://expressjs.com/en/guide/using-middleware.html

Subdirectories

There are subdirectories for different types of middleware: