docs/middleware
Peter Bengtsson 771401c045
Disallow query strings on dynamic assets (#34416)
2023-02-03 18:48:23 +00:00
..
api Feature Branch: Global Nav Phase 1 (#33465) 2023-01-31 17:49:50 +00:00
contextualizers fallback on corrupt translated titles for sidebar (#34089) 2023-01-23 17:04:50 +00:00
redirects Use zh as language code instead of cn (#33560) 2022-12-14 19:10:05 +00:00
README.md
abort.js
anchor-redirect.js Prep for ts-node (#30587) 2022-09-08 15:45:13 +00:00
archived-asset-redirects.js
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
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 Implement stale-if-error via response header (#33253) 2022-12-08 15:51:38 +00:00
catch-middleware-error.js
categories-for-support.js don't use encodeEntities in any rendering (#34201) 2023-01-26 17:06:46 +00:00
connect-datadog.js
context.js Create function to allow a reusable to link current article in a different docs version (#34273) 2023-02-02 09:30:34 +00:00
cookie-parser.js
detect-language.js Use zh as language code instead of cn (#33560) 2022-12-14 19:10:05 +00:00
dynamic-assets.js Disallow query strings on dynamic assets (#34416) 2023-02-03 18:48:23 +00:00
fast-head.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
fastly-behavior.js
fastly-cache-test.js
favicons.js Remove cacheControlFactory export (#33255) 2022-12-06 20:26:36 +00:00
featured-links.js remove encodeEntities on featured link cards (#33935) 2023-01-17 13:19:28 +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
handle-errors.js return 404 on /_next.junk (#33770) 2023-01-06 01:12:58 +00:00
handle-invalid-paths.js
handle-next-data-path.js
healthz.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
helmet.js allow any frame ancestor in dev (#34109) 2023-01-24 19:43:25 +00:00
index.js Dynamically serve .webp and .avif from a .png URL (#34412) 2023-02-03 18:19:55 +00:00
learning-track.js don't use encodeEntities in any rendering (#34201) 2023-01-26 17:06:46 +00:00
next.js 404 on any /_next/image request (#31052) 2022-09-22 15:55:30 -04:00
record-redirect.js
remote-ip.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
render-page.js don't htmlencode 'title' (#33920) 2023-01-12 16:57:34 +00:00
req-utils.js
robots.js
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 correct Surrogate-Key for static manifest assets (#33735) 2023-01-04 17:56:15 +00:00
timeout.js
trailing-slashes.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
trigger-error.js

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: