Performance
How to enable and configure caching and compression of responses received?
Overview
When caching is enabled, DDOS saves responses in a directory and uses them to respond to clients without having to proxy requests for the same content every time and also when compression is enable it provides you the ability to compress or decompress the responses which often significantly reduce the size of transmitted data and increase performance. The compression level is defined based on which responses are compressed to an extent. It also allows configuring other settings for compression.
How to Use
- Go to Apps > DDoS > Listener > Performance
- Click on Add the Setting
- Click on Save Changes.
Description
Enable Caching
Users can enable the caching using the button. It stores data so that future requests for that data can be served faster.
Accepted values: Enable / Disable
Default: Disable
Cache Pool
This option allows users to select the cache pool which is previously made cache pool from stack settings. User first need to click kn add and go to Resources/Cache Pools and create new cache pool which will be further used in cache pool option under DDoS listeners.
Accepted values: Select Cache Pool.
Default: Blank
Enable Caching Unsafe Method
This option allows users to enable extended caching of POST methods.
Accepted values: Enable / Disable
Default: Disable
Enable Compression
This option allows users to enable compression for the mentioned listener.
Accepted values: Enable / Disable
Default: Disable
Minimum Response to Compress
This option allows users to set minimum content length for HTTP responses. If any request will be bigger than the mentioned length, it will be compressed.
Accepted values: String
Default: Blank
Maximum Response to Compress
This option allows users to set maximum content length for HTTP responses. If any request will be smaller than the mentioned length, it will be compressed.
Accepted values: Specify compression Algorithum
Default: GZIP / DEFLATE
Compression Mime Filter
Users can configure the MIME types for which compression is enabled. Haltdos solution will compress responses with other MIME types then include them in this field.
Accepted values: Any mime type
Default: text/xml / text/plain / text/html / image/gif / image/png / application/javascript