Home AZDIGI GuideHosting How to enable LiteSpeed Cache on Hosting at AZDIGI

How to enable LiteSpeed Cache on Hosting at AZDIGI

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

As you all know, AZDIGI only uses LiteSpeed Webserver Enterprise on all Hosting services. Using LiteSpeed Webserver will help websites load faster and save resources than traditional Apache Webserver.

Not only that, all hosting packages at AZDIGI have supported LiteSpeed Cache to help websites cache more optimally, load faster and save maximum resources, such as reducing CPU usage. , Physical Memory, IOPS.

How to install LiteSpeed on Hosting

For WordPress website

If you are using WordPress, disable all caching plugins like WP Super Cache, W3 Total Cache, WP Rocket,…

Then install the LiteSpeed Cache plugin and you have successfully activated it. You can import AZDIGI’s pre-optimized configuration by importing the configuration file into the plugin, going to LiteSpeed Cache => Tool => Export/Import.

Then download this file to your computer: Download LiteSpeed Cache plugin configuration file

And proceed to import into LiteSpeed Cache.

import litespeed cache

Next, you proceed to flush the cache again by going to the Litespeed Cache menu on the admin bar, select Clear all.

azdigi litespeedcache import3


Finally, you turn on the Crawler feature in LiteSpeed Cache by going to LiteSpeed Cache => Crawler and turning it on, this is a great feature at AZDIGI to help your website always have a cached version.

azdigi litespeedcache import4

To check if the website has been cached, go to http://www.webconfs.com/http-header-check.php and type the domain name of the website and press Submit to check the HTTP Header, if there is a lineX-LiteSpeed-Cache is successful, it has two valuesmiss andhit . If it shows to miss, it means that the page has not been cached, but if you submit it again, it will hit, which means the page is cached.

ESI for WordPress

LiteSpeed Cache at AZDIGI supports ESI, in a word, can cache some content elements for logged-in users by caching separately for each user to speed up access even when logged in.

To enable ESI, go to LiteSpeed Cache and enable ESI.

azdigi litespeedcache esi

In the Other Groups section, you assign each group a different ID to identify each group to ensure that each group always has a private cache.

azdigi litespeedcache esi3

Then go to Appearance =strong, > Widget and enable cache for each widget as follows:

azdigi litespeedcache esi2
  • Public: You should enable the widget to be public cached if you want to cache this widget so that it is visible to all visitors (e.g., list of latest posts, new products,…)
  • Private: You should enable the widget to be a private cache if the widget displays different information for each person. For example, a list of recently viewed articles, products added to the cart, etc.

For Xenforo website

If you use Xenforo, just install LiteSpeed Cache Add-on and when activated, you have successfully enabled cache.

For Joomla website

For Joomla, you just need to install the LSCache for Joomla plugin and then activate it. You can refer to this guide for more details.

So you have finished activating LiteSpeed Cache. If you have difficulty setting up LiteSpeed Cache on your website, please contact Technical Department via ticket or support@azdigi.com for assistance.

 

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign