On konsoleH, you can enable or disable additional web server extensions for your domain. These extensions can optimize the delivery of your website, compress data transfer, or enable modern protocol features.
You can enable the web server extensions in konsoleH under your domain, under Settings → Web Server Extensions.
Not every extension is useful for every website. Only enable the modules that you actually need and test your website after each change.
Available extensions
Depending on your plan and configuration, the following extensions may be available:
| Extension | Purpose |
|---|---|
mod_http2 |
Enables features of the HTTP/2 standard. |
mod_deflate |
Compresses web server responses with Gzip before transfer. |
mod_pagespeed |
Automatically optimizes the delivery of content. |
mod_brotli |
Compresses responses with the Brotli algorithm. |
mod_http2
mod_http2 enables features of the HTTP/2 standard. HTTP/2 can optimize data transfer between the web server and the browser, especially if many resources such as CSS, JavaScript, and images are loaded.
The actual improvement depends on your website, the browser, and the network situation.
mod_deflate
mod_deflate compresses files before they are transferred to the browser. This can reduce the size of HTML, CSS, JavaScript, XML, JSON, and other text based content.
This can improve loading times and save bandwidth. Compression requires additional CPU resources on the server.
You can enable mod_deflate on konsoleH under Settings → Web server extensions.
Configure compression individually
If you want to control compression more precisely, you can compress specific content types.
Example:
FilterDeclare COMPRESS
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'text/html*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'text/plain*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'text/xml*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'text/css*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'application/javascript*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'application/x-javascript*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'application/ecmascript*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'text/javascript*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'application/rss+xml*'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} -strmatch 'application/json*'"
FilterChain COMPRESS
FilterProtocol COMPRESS DEFLATE change=yes;byteranges=noThis configuration compresses common text based content types. You can add more content types if needed.
After the change, test whether your website is still delivered correctly. If content is loaded incorrectly or downloads cause problems, remove the individual configuration again for testing.
mod_brotli
mod_brotli compresses HTTP responses with the Brotli algorithm. Modern browsers support Brotli and can automatically decompress the compressed content.
Brotli can achieve good compression rates for text based content such as HTML, CSS, and JavaScript. Compression also requires additional CPU resources.
If your website is under high load, check whether the server load changes after enabling this module.
mod_pagespeed
mod_pagespeed is a module for automatically optimizing the delivery of website content. It can use caching and compression, among other mechanisms.
Because of caching, changes to your website may not be visible immediately. If you notice outdated content after making changes, disable the module for testing.
Recommendation
Enable web server extensions one by one and test your website after each change. This makes it easier to identify which module causes an issue if unexpected behavior occurs.
For many websites, mod_http2 and compression via mod_brotli or mod_deflate are useful. Do not use multiple optimization mechanisms unnecessarily if you have not tested their effect.