docs/middleware
Peter Bengtsson 5fc846c0ea
Plain text 404 page for non language urls (#37752)
2023-06-12 20:19:48 +00:00
..
api Import from the src directory in Node using `#src` (#37578) 2023-06-05 21:44:20 +00:00
contextualizers Fix corrupting Liquid tags in translations (#37219) 2023-06-09 14:32:23 +00:00
redirects Skip handle-redirects for all /api/ URLs (#37244) 2023-05-24 15:06:46 +00:00
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
abort.js Import from the src directory in Node using `#src` (#37578) 2023-06-05 21:44:20 +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 Import from the src directory in Node using `#src` (#37578) 2023-06-05 21:44:20 +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 Add note about max-age header (#36130) 2023-04-03 17:36:57 +00:00
categories-for-support.js don't use encodeEntities in any rendering (#34201) 2023-01-26 17:06:46 +00:00
context.js Homepage links (#37432) 2023-06-05 21:03:08 +00:00
cookie-parser.js Remove `import x` statements (#20594) 2021-07-29 20:28:30 +00:00
detect-language.js Use zh as language code instead of cn (#33560) 2022-12-14 19:10:05 +00:00
dynamic-assets.js Default max-width for thumbnails to be 1440 (#36644) 2023-04-27 16:55:26 +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 Serve /apple-touch-icon-120x120.png (#37667) 2023-06-08 15:46:01 +00:00
find-page.js Plain text 404 page for non language urls (#37752) 2023-06-12 20:19:48 +00:00
get-remote-json.js Import from the src directory in Node using `#src` (#37578) 2023-06-05 21:44:20 +00:00
halt-on-dropped-connection.js Pretty format (#20352) 2021-07-14 14:35:01 -07: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 Present a manifest JSON file with icons (#37292) 2023-05-31 12:05:37 +00:00
index.js Shielding subject folder (#37690) 2023-06-09 13:02:34 +00:00
learning-track.js don't use encodeEntities in any rendering (#34201) 2023-01-26 17:06:46 +00:00
manifest-json.js Present a manifest JSON file with icons (#37292) 2023-05-31 12:05:37 +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 Plain text 404 page for non language urls (#37752) 2023-06-12 20:19:48 +00:00
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 Plain text 404 page for non language urls (#37752) 2023-06-12 20:19:48 +00:00
robots.js Cache robots.txt longer (#36907) 2023-05-08 15:13:13 +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 correct Surrogate-Key for static manifest assets (#33735) 2023-01-04 17:56:15 +00:00
timeout.js Import from the src directory in Node using `#src` (#37578) 2023-06-05 21:44:20 +00:00
trailing-slashes.js Combine cache control (#33067) 2022-11-30 00:04:34 +00: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: