What is LiteSpeed Cache ? LiteSpeed Cache (LSCache) is a built-in, high-performance dynamic content acceleration feature of the LiteSpeed Web Server. LSCache’s features are very similar to those in Apache mod_cache, but implemented in a more efficient way. LiteSpeed cache works like Varnish. It is…
Set up Websocket Proxy In this article we will explain how to set up a WebSocket proxy to a WebSocket backend. With a WebSocket proxy, OpenLiteSpeed will forward traffic with the WebSocket upgrade request to the WebSocket backend specified in the WebSocket proxy. Traffic without…
Setting up OpenLiteSpeed as a reverse proxy OpenLiteSpeed can be set up as a transparent reverse proxy to any backend web server or application server that supports HTTP. OpenLiteSpeed proxies to other servers by setting them as external applications. Once you have set up your…
Set up WebSocket Proxies on OpenLiteSpeed In this article we will explain how to set up a WebSocket proxy to a WebSocket backend. With a WebSocket proxy, OpenLiteSpeed will forward traffic with the WebSocket upgrade request to the WebSocket backend specified in the WebSocket proxy.…
Setting Up Custom Headers Case: Browser Cache In some circumstances, a user may need to set up a custom header, such as a Cache-Control header or an Expire header. In this guide, we will set up custom headers over a JavaScript and CSS file, as…
Setting Up GeoLocation on OpenLiteSpeed Enabling GeoLocation Geolocation enables developers to enhance the user experience. Content and advertising may be customized for a specific user’s country, showing pages more relevant to the location of the user. Admins can further enhance a site’s security by blocking…
Setting up OCSP Stapling with OpenLiteSpeed This article explains how to set up OCSP stapling. OCSP stapling speeds up the SSL verification process by attaching a pre-approved certificate to the SSL handshake response. This streamlines the process and removes burdens from the client and SSL…
Setting up CGI on OpenLiteSpeed OpenLiteSpeed supports CGI through virtual host-level CGI contexts. A CGI context specifies a directory containing only CGI scripts. All files in this context will be considered CGI scripts and, when accessed, will be run using CGI. To run CGI, you…
Get a Certificate To set up SSL, please prepare a private key and certificate from a certificate issuer like Let’s Encrypt. You can follow one of these guides, if necessary: public certificate via Let’s Encrypt, or private self-signed certificate. You can set up SSL at…
IP-Based Virtual Hosting on OpenLiteSpeed In all versions of LiteSpeed Web Server, including OpenLiteSpeed, there is very little difference between IP- and name-based virtual hosting. IP-based virtual hosting is the same as name-based virtual hosting, except that each virtual host has its own IP address. IP-based…