All Products
Search
Document Center

API Gateway:Transmission

Last Updated:Feb 07, 2025

This topic provides a feature overview of the transmission plug-ins provided by Cloud-native API Gateway. This helps you better understand and use these plug-ins to optimize data transmission and improve system compatibility and performance.

Plug-in

Description

custom-response

The custom-response plug-in allows you to configure custom responses, including status codes, HTTP response headers, and HTTP response bodies. The custom-response plug-in can also be used to mock responses, or to provide custom responses after a specific HTTP status code is determined. For example, you can use the plug-in to configure a custom response that is returned when a gateway throttling policy is triggered.

cache-control

The cache-control plug-in can add the Expires and Cache-Control headers to responses based on URL file suffixes. This allows browsers to cache files with specific suffixes, such as jpg and png.