{"id":25899,"date":"2020-12-21T02:47:28","date_gmt":"2020-12-20T18:47:28","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&p=25899"},"modified":"2022-09-08T21:25:53","modified_gmt":"2022-09-08T13:25:53","slug":"wp-super-cache-plugin","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/wp-super-cache-plugin","title":{"rendered":"WP Super Cache Plugin"},"content":{"rendered":"\t\t
Installing a WP-Super-Cache, which can be accomplished under plugins, is one way to optimize WordPress.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
To use the recommended settings, please finish all four (4) steps.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
On the \u201cAdvanced\u201d tab:<\/p>
Then, scroll down and select \u201cUpdate Mod_Rewrite Rules\u201d in the yellow box.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Scroll down to \u201cExpiry Time & Garbage Collection\u201d and enter \u201c3600\u201d in the box, then select \u201cChange Expiration\u201d<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
It is suggested that you do not remove default user agents from the list to avoid bots from caching contents and websites usually not seen by your tourists.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Enables caching<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
The fastest caching method uses mod_rewrite rules in the client\u2019s .htaccess file<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Documents of the WP Super Cache Plugin are compressed and stored so that heavy compression is obtained only once. These files are generally smaller and much more quickly sent to a visitor\u2019s browser than uncompressed html. This means that the server spends less time discussing the network, saving CPU time and bandwidth, and also providing much quicker service on the next request.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Indicates to the client\u2019s browser whether a requested file has been modified or not.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
This prevents logged-in users from being served cached pages and is the default for almost every caching plugin out there.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
By default, cache documents can be cached at age 1 hour (3600 seconds) before ideally deleted. In the case of sites with not many posts (1,000 or less), if you do not frequently update your content, this setting can be increased. If you have a very big number of messages, it can be more feasible to make a reduced environment around 1800 to avoid stat \/ CPU problems owing to the number of documents generated.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
It is recommended not to delete the default user agents from the list so that bots cannot cache contents and pages not normally viewed by your visitors. (For instance, if you\u2019ve got a calendar, an actual visitor may only browse months in the vicinity of it, but a bot will index it for every month as if it was a distinct website.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t