Wp super cache

      35

Search engines consider site tốc độ to lớn be an important factor tìm kiếm rankings. This is why at hostingvietnam.vn we try our best to improve sầu site load speed khổng lồ an optimal level. Doing that, we have noticed that caching our trang web helped us improve site tốc độ as well as balancing huge spikes in traffic. We use W3 Total Cache lớn improve performance of our trang web. However, many of our readers asked us about how lớn install and thiết lập WPhường Super Cađậy. Therefore in this guide, we will show you how to install và properly setup WPhường Super Cabít.

Bạn đang xem: Wp super cache

Note: Both W3 Total Cađậy & WP.. Super Cabịt are great plugins. We highly recommover that you use one or the other depending on your needs.

Xem thêm: Ngôn Ngữ Đại Số Quan Hệ Trong Sql, Đại Số Quan Hệ Và Các Phép Toán Tập Hợp

First thing you need lớn bởi is install và activate WPhường Super Cabịt plugin (tutorial: how lớn install a WordPress plugin). Upon activation, WPhường Super Cabít will notify you that caching is not enabled on your website at the moment.

Setting up WPhường Super Cabít – The Easy Way

To enable cabít, go to lớn Settings » WP Super Cache. Under the Easy tab, turn Caching on & hit update status button.

*

After turning on the cađậy, click on the demo cabít button khổng lồ kiểm tra if it is working. WPhường Super Cađậy will fetch your WordPress site twice & will compare the time stamps of both pages. If the both time stamps match then this means that caching is working on your site now.

WPhường Super Cabịt Advanced Set up

WPhường super cabít is a powerful plugin, and it comes with many advance options. These options can further improve your site’s performance. To Set up WPhường Super Cabít with advance options, go to lớn Settings » WP.. Super Cache & cliông chồng on Advanced tab.

*

Enable CachingFirst kiểm tra the box that says Cache hits to this website for quiông xã access. Below that you will see three caching options. By default WP. Super Cabít uses PHPhường. to lớn serve cabít files. However, using PHP. to serve sầu cache files can be resource intensive sầu particularly on shared hosting environments. So we would lượt thích to lớn recommover that you try using mod_rewrite to serve sầu cabít files. After that scroll down & hit the update status button to lớn save sầu these settings.

WP Super Cabịt will now show you a notification that mod_rewrite rules must be updated and possibly another notification about scheduling garbage collection. Scroll down the page, and you will see mod_rewrite rules that needs khổng lồ be added. Cliông chồng on Update Mod_Rewrite Rules button khổng lồ update these rules. Once mod_rewrite rules are updated this section will turn green.

To resolve the notice about garbage collection, scroll down on the advance settings page to lớn the Expiry Time & Garbage Collection section và mix up a time và frequency for garbage collection of cached files on your VPS.

*

Enable Compression in WP. Super Cache: Compression allows WPhường Super Cache lớn serve sầu cached files as compressed files. These files are downloaded by user browsers quickly due lớn their smaller size. To enable compression, simply check the box that says Compress pages so they’re served more quickly lớn visitors.

Setting up CDN with WPhường Super Cache

Most content websites serve a lot of static files with each page request. These files are JavaScripts, images, stylesheets, etc. Unlượt thích your WordPress posts which are dynamically generated by PHP, these files can be served using a Content Delivery Network (CDN). If you don’t know what is a CDoanh Nghiệp or why you need a CDoanh Nghiệp, then you should kiểm tra out our infographic “What the Heông chồng is a CDN“.

At hostingvietnam.vn we use MaxCDoanh Nghiệp. You can read our blueprint on Why we use MaxCDoanh Nghiệp. If you need help setting up MaxCDoanh Nghiệp, then we already have a tutorial for how lớn install và thiết đặt MaxCDoanh Nghiệp for WordPress. The tutorial uses W3 Total cađậy, but the basic concept is the same.

To cài đặt CDN with WPhường. Super Cađậy, cliông chồng on the CDN tab and kiểm tra the box next khổng lồ Enable CDoanh Nghiệp Support option. Enter your offsite URL, which will be the url of your pullzone. For example, http://cdn.hostingvietnam.vn

*

In the additional CNAMEs field enter other CNAMEs you have sầu created for your pullzone. For example, http://cdn1.hostingvietnam.vn, http://cdn2.hostingvietnam.vn , http://cdn3.hostingvietnam.vn

Lastly, check the box that says Skip https URLs lớn avoid “mixed content” errors và save sầu changes. Now your website is now ready lớn serve static content from a CDN.

Serve a Static Site with WPhường Super Cache

The preload mode in WPhường Super Cabít allows you lớn create super cache static files for all your posts và pages and serve a static trang web. You may ask Why would anyone want lớn vì chưng that?

To conserve server resources.To serve an old site that is not being updated anymore.To improve site speed by serving static nội dung only.

These were just a few reasons but there could be many more reasons and situations where you might want lớn completely disable PHPhường. processes. Don’t worry your WordPress will work normally, and you will still be able lớn manage your content with WordPress.

*

Refresh preload cađậy files options will be phối khổng lồ zero by default, minimum required time is at least 30 minutes. Pre-loading your entire WordPress site takes some time and consumes a lot of resources on your server. You can leave it khổng lồ 0 if you vì not want your static files to lớn expire ever unless you manually refresh cache.

We hope this guide helped you setup WPhường Super Cache on your WordPress blog. For plugin specific tư vấn, please post all your questions in the WordPress support forums for the plugin author. Read our guide on how to lớn properly ask for WordPress tư vấn & get it.