Category Archives: LiteSpeed

Python & Ruby Selectors Now Available!

We’re excited to announce that we now support Python and Ruby applications across all of our hosting platforms! These have been popular feature requests and we’re happy to be able to announce their availability. These capabilities are made possible by CloudLinux’s Python & Ruby Selector as well as LiteSpeed’s mod_passenger support. Similar to the PHP Selector, Python and Ruby applications can be deployed directly via cPanel under the Software section as seen below.

If you select “Setup Python App”, you’ll be prompted to select your desired Python version, the app’s directory, and the app’s web address (URI). Currently, Python versions 2.7, 3.3, 3.4, 3.5, 3.6 and 3.7 are available. Continue reading

LiteSpeed Cache & WordPress

LiteSpeed

Our servers have been running the LiteSpeed Web Server for almost six years now and one of the lesser known but most powerful features of it is its caching. LiteSpeed cache is available on our servers although it is disabled on all domains by default. Enabling it globally just isn’t practical or wise because there is a lot of content that doesn’t need to be cached or shouldn’t ever be cached.

LiteSpeed cache can be used to cache your PHP scripts and thus speed up their load time significantly. This can be very beneficial if your site receives consistent traffic although even low traffic sites can see some benefits. The cache can be enabled and configured by means of some mod_rewrite rules in your .htaccess file. Below is a common example that can be used to cache WordPress:


<IfModule LiteSpeed>
CacheEnable public /
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$
RewriteCond %{REQUEST_URI} !^(wp-admin|wp-login.php|wp-cron.php)
RewriteRule .* - [E=Cache-Control:max-age=120]
</IfModule>

Continue reading