Server Caching Configuration for WordPress sites

jkeegan

Active Member
#1
Inside the Litespeed WordPress plugin, there is the Information section which shows the following... Just want to make sure that a) these instructions are still accurate and b) should be fine in a shared server environment?

LiteSpeed Cache Configurations

Please check to make sure that your web server cache configurations are set to the following:

  • Enable Public Cache - No
  • Check Public Cache - Yes
The following are also recommended to be set:

  • Cache Request with Query String - Yes
  • Cache Request with Cookie - Yes
  • Cache Response with Cookie - Yes
  • Ignore Request Cache-Control - Yes
  • Ignore Response Cache-Control - Yes
 

KevinFwu

Administrator
Staff member
#2
Yes, those are still current.

The only config to be aware of in a shared host is the Check Public Cache option.

If you want all sites to check the cache for cache entries, then you may enable it at the server level.

Otherwise, It is recommended to add it to each individual site's config or .htaccess that you want to have cached.

Let me know if this is still confusing,
Kevin
 

KevinFwu

Administrator
Staff member
#4
Those settings will have two effects, specific to the Cache Look up setting:

1. If any site sends litespeed cache related headers, the server will parse and possibly cache those pages. As far as we are aware, this will only happen if the site runs Magento, WordPress, or XenForo and has their respective litespeed cache plugins installed.

2. On all requests, the server will check the cache for any cache entries related to the requested page.

In other words, with those configurations, cache entries will only be created if told to do so via litespeed specific headers. The server will always look for cache entries, but because they are only created via litespeed specific headers, this should have no impact on sites without our plugins.

Hopefully this is clear enough. Please let me know if you need further clarification :)
 
Top