docs/middleware
Rachael Sewell e830ddd715
move rest api tests and code to feature folder (#36044)
2023-03-30 21:57:14 +00:00
..
api move rest api tests and code to feature folder (#36044) 2023-03-30 21:57:14 +00:00
contextualizers Consolidate secret scanning tables (#35312) 2023-03-21 07:46:56 +00:00
redirects Be gone old api/search/legacy (#34839) 2023-02-16 16:26:13 +00:00
README.md
abort.js
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 Disk cache getRemoteJSON (#35872) 2023-03-30 14:47:55 +00:00
asset-preprocessing.js
block-robots.js
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 Remove AVIF as possible dynamic format (#35185) 2023-03-01 13:01:32 +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 Run and test server with test fixture root (#33816) 2023-02-06 19:29:45 +00:00
get-remote-json.js Disk cache getRemoteJSON (#35872) 2023-03-30 14:47:55 +00:00
halt-on-dropped-connection.js
handle-errors.js catch typos near 'AUTOTITLE' (#34493) 2023-02-07 17:22:44 +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 Support Portal & Docs Collaboration: Virtual Assistant in Docs (#35772) 2023-03-29 12:38:47 +00:00
index.js move rest api tests and code to feature folder (#36044) 2023-03-30 21:57:14 +00:00
learning-track.js don't use encodeEntities in any rendering (#34201) 2023-01-26 17:06:46 +00:00
mock-va-portal.js Support Portal & Docs Collaboration: Virtual Assistant in Docs (#35772) 2023-03-29 12:38:47 +00:00
next.js
product-icons.js Preview hover cards (#34702) 2023-03-21 19:59:49 +00:00
reload-tree.js Reloading the site tree (#34877) 2023-03-06 19:44:59 +00:00
remote-ip.js Combine cache control (#33067) 2022-11-30 00:04:34 +00:00
render-page.js Remove support for `miniTocMaxHeadingLevel` (#34758) 2023-02-17 16:29:02 +00:00
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 Update Hydro publish to send multiple events (#35696) 2023-03-22 15:55:26 +00:00
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: