docs/middleware
Kevin Heis e791da01a6
Remove cacheControlFactory export (#33255)
2022-12-06 20:26:36 +00:00
..
api Remove cacheControlFactory export (#33255) 2022-12-06 20:26:36 +00:00
contextualizers fall back to English on `page.render` liquid errors (#32799) 2022-12-06 17:11:41 +00:00
redirects Cache language redirects (#33028) 2022-12-01 20:01:52 +00:00
README.md
abort.js statsd increments on middleware.abort and middleware.timeout (#23003) 2021-11-19 12:04:54 -05:00
anchor-redirect.js Prep for ts-node (#30587) 2022-09-08 15:45:13 +00:00
archived-asset-redirects.js archived asset redirects (#25025) 2022-02-04 16:32:01 +00:00
archived-enterprise-versions-assets.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
archived-enterprise-versions.js Cache language redirects (#33028) 2022-12-01 20:01:52 +00:00
asset-preprocessing.js cache asset images more aggressively (#23553) 2021-12-10 13:01:48 +00:00
block-robots.js don't get available languages from session (#29715) 2022-08-08 11:13:27 -04:00
build-info.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
cache-control.js Remove cacheControlFactory export (#33255) 2022-12-06 20:26:36 +00:00
catch-middleware-error.js wrap async middlewares correctly (#28030) 2022-06-01 15:13:23 +00:00
categories-for-support.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
connect-datadog.js Use the same tags across connect-datadog and hot-shots (#24741) 2022-01-27 21:31:35 +00:00
context.js fall back to English on `page.render` liquid errors (#32799) 2022-12-06 17:11:41 +00:00
cookie-parser.js Remove `import x` statements (#20594) 2021-07-29 20:28:30 +00:00
detect-language.js Update "preferredlang" to "user_language" (#33045) 2022-11-30 17:51:51 +00:00
fast-head.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
fastly-behavior.js Update Fastly test middleware to run in staging ONLY. 2022-06-02 17:19:53 -06:00
fastly-cache-test.js Update Fastly test middleware to run in staging ONLY. 2022-06-02 17:19:53 -06:00
favicons.js Remove cacheControlFactory export (#33255) 2022-12-06 20:26:36 +00:00
featured-links.js Fix featured video links versioning (#30788) 2022-09-15 16:51:14 +00:00
find-page.js 404 if the applicable version no longer matches (#33086) 2022-11-30 16:27:29 +00:00
halt-on-dropped-connection.js Pretty format (#20352) 2021-07-14 14:35:01 -07:00
handle-errors.js Remove cacheControlFactory export (#33255) 2022-12-06 20:26:36 +00:00
handle-invalid-paths.js let front door handle invalid paths (#27954) 2022-05-24 18:30:05 +00:00
handle-next-data-path.js wrap async middlewares correctly (#28030) 2022-06-01 15:13:23 +00:00
healthz.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
helmet.js use azure blob storage for archived enterprise versions (#31883) 2022-10-25 12:03:38 -07:00
index.js stagger the default surrogate-key by language (#33202) 2022-12-06 20:26:06 +00:00
learning-track.js JIT data (#32140) 2022-11-17 13:08:49 +00:00
next.js 404 on any /_next/image request (#31052) 2022-09-22 15:55:30 -04:00
record-redirect.js don't record temporary redirects (#25668) 2022-02-25 13:45:31 -05:00
remote-ip.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
render-page.js fall back to English on `page.render` liquid errors (#32799) 2022-12-06 17:11:41 +00:00
req-utils.js Pretty format (#20352) 2021-07-14 14:35:01 -07:00
robots.js Robots update (#23046) 2021-11-23 18:56:05 +00:00
set-fastly-surrogate-key.js stagger the default surrogate-key by language (#33202) 2022-12-06 20:26:06 +00:00
static-asset-caching.js NextJS 12.1.6 (#26102) 2022-06-28 12:57:38 +00:00
timeout.js don't fail on posting comment from English link checker (#28059) 2022-05-31 18:05:39 +00:00
trailing-slashes.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
trigger-error.js Upgrade Primer CSS to version 17, removing marketing styles (#20965) 2021-08-31 14:49:39 -07: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: