Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cache:lscwp [2018/06/25 15:25] Lisa Clarke [Troubleshooting] Added PHP Session Link |
litespeed_wiki:cache:lscwp [2020/05/04 13:37] Shivam Saluja |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== LiteSpeed Cache For WordPress ====== | ====== LiteSpeed Cache For WordPress ====== | ||
+ | |||
+ | **Please Note**: This wiki is valid for v2.9.x and below of the LiteSpeed Cache Plugin for WordPress. If you are using v3.0 or above, please see [[https://docs.litespeedtech.com/lscache/lscwp/overview/|the new documentation]]. | ||
LiteSpeed Cache for WordPress (LSCWP) is a PHP-based plugin that provides page caching and other site optimization features, which deliver superior performance to your WordPress site. | LiteSpeed Cache for WordPress (LSCWP) is a PHP-based plugin that provides page caching and other site optimization features, which deliver superior performance to your WordPress site. | ||
Line 6: | Line 8: | ||
This wiki will guide you through the all steps needed to install and set up LSCWP. | This wiki will guide you through the all steps needed to install and set up LSCWP. | ||
+ | |||
+ | If you are a System Administrator for a shared hosting server and are currently using WHM/cPanel, you may find the [[litespeed_wiki:cpanel:whm-plugin-lscwp-management|LiteSpeed Cache for WordPress management section]] within the LiteSpeed WHM plugin to be a big time saver. It allows you to enable cache for all of your WordPress installations with one-click. | ||
===== Requirements ===== | ===== Requirements ===== | ||
Line 11: | Line 15: | ||
Many of the optimization features in our WordPress plugin may be used by anyone, using //any// web server (LiteSpeed, Apache, NGiNX, etc). | Many of the optimization features in our WordPress plugin may be used by anyone, using //any// web server (LiteSpeed, Apache, NGiNX, etc). | ||
- | The caching features, however, require [[http://openlitespeed.org|OpenLiteSpeed]], commercial LiteSpeed products such as [[litespeed_wiki:faq|LiteSpeed Web Server]], or [[https://www.litespeedtech.com/partners/hosting-providers|LiteSpeed-powered hosting]]. | + | The caching features, however, require [[http://openlitespeed.org|OpenLiteSpeed]], commercial LiteSpeed products such as [[litespeed_wiki:faq|LiteSpeed Web Server]], [[https://www.litespeedtech.com/partners/hosting-providers|LiteSpeed-powered hosting]], or the new [[https://quic.cloud|QUIC.cloud CDN]], currently in beta testing. |
Line 17: | Line 21: | ||
===== Getting Started ===== | ===== Getting Started ===== | ||
- | |[[litespeed_wiki:cache:lscwp:installation|LSCWP Installation]]|Installing & enabling the LSCache plugin for WordPress| | + | * [[litespeed_wiki:cache:lscwp:installation|LSCWP Installation]]: Installing & enabling the LSCache plugin for WordPress |
===== Overwhelmed? ===== | ===== Overwhelmed? ===== | ||
If you're not a cache genius, and you don't know where to start after installing and enabling the plugin, check this out. | If you're not a cache genius, and you don't know where to start after installing and enabling the plugin, check this out. | ||
- | |[[litespeed_wiki:cache:lscwp:beginner|Beginner's Guide]]|We know there are a lot of settings. Here's a guide to //easy// setup.| | + | * [[litespeed_wiki:cache:lscwp:beginner|Beginner's Guide]]: We know there are a lot of settings. Here's a guide to //easy// setup. |
- | |[[litespeed_wiki:cache:lscwp:support|Premium Support]]|Need assistance with your configuration? We can help!| | + | * [[litespeed_wiki:cache:lscwp:support|Premium Support]]: Need assistance with your configuration? We can help! |
===== On The LiteSpeed Cache Menu ===== | ===== On The LiteSpeed Cache Menu ===== | ||
From your WordPress Dashboard, when you click **LiteSpeed Cache**, these are the options that appear below it in the menu. | From your WordPress Dashboard, when you click **LiteSpeed Cache**, these are the options that appear below it in the menu. | ||
- | |[[litespeed_wiki:cache:lscwp:management|Manage]]|Managing the cache and other optimization functions| | + | * [[litespeed_wiki:cache:lscwp:management|Manage]]: Managing the cache and other optimization functions |
- | |[[litespeed_wiki:cache:lscwp:configuration|Settings]]|All of the LSCWP Settings and what they mean| | + | * [[litespeed_wiki:cache:lscwp:configuration|Settings]]: All of the LSCWP Settings and what they mean |
- | |[[litespeed_wiki:cache:lscwp:edit-htaccess|Edit .htaccess]]|Advanced users may edit their configuration file directly| | + | * [[litespeed_wiki:cache:lscwp:edit-htaccess|Edit .htaccess]]: Advanced users may edit their configuration file directly |
- | |[[litespeed_wiki:cache:lscwp:image-optimization|Image Optimization]]|How to use Image Optimization| | + | * [[litespeed_wiki:cache:lscwp:image-optimization|Image Optimization]]: How to use Image Optimization |
- | |[[litespeed_wiki:cache:lscwp:crawler|Crawler]]|Using the crawler once its been configured| | + | * [[litespeed_wiki:cache:lscwp:crawler|Crawler]]: Using the crawler once its been configured |
- | |[[litespeed_wiki:cache:lscwp:environment-report|Report]]|Generating and sharing your LSCWP Environment Report| | + | * [[litespeed_wiki:cache:lscwp:environment-report|Report]]: Generating and sharing your LSCWP Environment Report |
- | |[[litespeed_wiki:cache:lscwp:import-export|Import/Export]]|Migrate your LSCWP configuration settings| | + | * [[litespeed_wiki:cache:lscwp:import-export|Import/Export]]: Migrate your LSCWP configuration settings |
- | |[[litespeed_wiki:cache:lscwp:debug|Debug Log]]|Getting an error? Check the debug log| | + | * [[litespeed_wiki:cache:lscwp:debug|Debug Log]]: Getting an error? Check the debug log |
===== More Information ===== | ===== More Information ===== | ||
- | |[[litespeed_wiki:cache:lscwp:faq|FAQ]]|Frequently Asked Questions| | + | * [[litespeed_wiki:cache:lscwp:faq|FAQ]]: Frequently Asked Questions |
- | |[[litespeed_wiki:cache:lscwp:error-codes|LSCWP Error Codes]]|Explanations of all of the error codes generated by LSCWP| | + | * [[litespeed_wiki:cache:lscwp:error-codes|LSCWP Error Codes]]: Explanations of all of the error codes generated by LSCWP |
- | |[[litespeed_wiki:cache:lscwp:supported_plugins|Known Compatible Plugins]]|A list of 3rd party plugins known to work with LSCWP| | + | * [[litespeed_wiki:cache:lscwp:supported_plugins|Known Compatible Plugins]]: A list of 3rd party plugins known to work with LSCWP |
- | |[[litespeed_wiki:cache:lscwp:compatibility|Testing for Compatibility]]|How to determine whether a 3rd party plugin will work with LSCWP| | + | * [[litespeed_wiki:cache:lscwp:compatibility|Testing for Compatibility]]: How to determine whether a 3rd party plugin will work with LSCWP |
- | |[[litespeed_wiki:cache:lscwp:crawler|Crawler]]|Instructions for enabling the LSCWP crawler| | + | * [[litespeed_wiki:cache:lscwp:crawler|Crawler]]: Instructions for enabling the LSCWP crawler |
- | |[[litespeed_wiki:cache:lscwp:translate|Translating LSCWP]]|Contribute a translation in your favorite language| | + | * [[litespeed_wiki:cache:lscwp:translate|Translating LSCWP]]: Contribute a translation in your favorite language |
- | |[[https://blog.litespeedtech.com/tag/wordpress-wednesday/|WordPress Wednesday on our blog]]|Go in-depth with LSCWP concepts| | + | * [[https://blog.litespeedtech.com/tag/wordpress-wednesday/|WordPress Wednesday on our blog]]: Go in-depth with LSCWP concepts |
- | |[[https://blog.litespeedtech.com/tag/caching-101/|Caching 101 on our blog]]|Learn the basics of caching WordPress with LiteSpeed| | + | * [[https://blog.litespeedtech.com/tag/caching-101/|Caching 101 on our blog]]: Learn the basics of caching WordPress with LiteSpeed |
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
- | |[[litespeed_wiki:cache:lscwp:troubleshooting:general|LSCWP General Troubleshooting Guide]]|General Troubleshooting Guide For LSCWP| | + | |
- | |[[litespeed_wiki:cache:lscwp:troubleshooting:lscache-is-disabled|LiteSpeed Cache is Disabled Warning]]|Why you might see this warning and how to fix it| | + | ==== General Troubleshooting Guide ==== |
- | |[[litespeed_wiki:cache:lscwp:troubleshooting:browser_displays_stale_content|Browser Displays Stale Content]]|Possible browser-cache conflict| | + | * [[litespeed_wiki:cache:lscwp:troubleshooting:general|LSCWP General Troubleshooting Guide]]: General Troubleshooting Guide For LSCWP |
- | |[[litespeed_wiki:cache:lscwp:troubleshooting:yith-woocommerce-wishlist|WooCommerce Wishlist Caching]]|How to exclude YITH WooCommerce Wishlist from cache| | + | |
- | |[[litespeed_wiki:cache:lscwp:troubleshooting:image_optimize_error|Image Optimize Error]]|How to fix errors of image optimization| | + | ==== Basic/Common Errors ==== |
- | |[[litespeed_wiki:cache:lscwp:optimization-troubleshooting|Site Displays Badly after CSS/JS Optimization]]|A detailed example for how to find and exclude problematic CSS/JS| | + | * [[litespeed_wiki:cache:lscwp:troubleshooting:lscache-is-disabled|LiteSpeed Cache is Disabled Warning]]: Why you might see this warning and how to fix it |
- | |[[litespeed_wiki:cache:lscwp:optimize-issue|More CSS/JS Optimization]]|Another example for how to fix a CSS/JS optimize issue| | + | * [[litespeed_wiki:cache:lscwp:troubleshooting:browser_displays_stale_content|Browser Displays Stale Content]]: Possible browser-cache conflict |
- | |[[litespeed_wiki:cache:lscwp:troubleshooting:exclude_wp-cron_from_php_timeout_limit|Run Wp-Cron with no Timeout]]|Run Wp-cron php proccess with no timeout| | + | * [[litespeed_wiki:cache:lscwp:troubleshooting:yith-woocommerce-wishlist|YITH WooCommerce Wishlist Caching]]: How to exclude incompatible cookie-based plugins from cache |
- | |[[litespeed_wiki:cache:lscwp:troubleshooting:php_session_and_cache|Caching Pages that Depend on PHP Session]]|Why you can't vary on PHP Session and what to do| | + | * [[litespeed_wiki:cache:lscwp:troubleshooting:image_optimize_error|Image Optimize Error]]: How to fix errors of image optimization |
+ | * [[litespeed_wiki:cache:lscwp:optimization-troubleshooting|Site Displays Badly after CSS/JS Optimization]]: A detailed example for how to find and exclude problematic CSS/JS | ||
+ | * [[litespeed_wiki:cache:lscwp:troubleshooting:ccss_unstyle|Still Seeing FOUC with Critical CSS Enabled]]: Fixing continued Unstyled Content after CCSS is generated | ||
+ | * [[litespeed_wiki:cache:lscwp:optimize-issue|More CSS/JS Optimization]]: Another example for how to fix a CSS/JS optimize issue | ||
+ | * [[litespeed_wiki:cache:lscwp:troubleshooting:php_session_and_cache|Caching Pages that Depend on PHP Session]]: Why you can't vary on PHP Session and what to do | ||
+ | * [[litespeed_wiki:cache:lscwp:troubleshooting:why_purge_often|Pages are Purging More Frequently than TTL]]: Sometimes your settings inadvertantly purge too often | ||
+ | * [[litespeed_wiki:cache:lscwp:troubleshooting:lazy_load_amp|Lazy Load Breaks AMP Validation]]: What to do when AMP and Lazy Load conflict | ||
In the case that you need professional handling/troubleshooting of your problem, LiteSpeed Technologies offers a [[litespeed_wiki:cache:lscwp:support|WordPress Cache(LSCWP) Support Service]], provided by our experienced System Engineers and LSWCP Developers, to help our clients to optimize their settings or to troubleshoot conflicts. | In the case that you need professional handling/troubleshooting of your problem, LiteSpeed Technologies offers a [[litespeed_wiki:cache:lscwp:support|WordPress Cache(LSCWP) Support Service]], provided by our experienced System Engineers and LSWCP Developers, to help our clients to optimize their settings or to troubleshoot conflicts. | ||
===== Advanced Topics ===== | ===== Advanced Topics ===== | ||
- | |[[litespeed_wiki:cache:lscwp:customizations|Customizing LSCWP]]|Instructions for customizing LSCWP for your site's special cases| | + | * [[litespeed_wiki:cache:lscwp:customizations|Customizing LSCWP]]: Instructions for customizing LSCWP for your site's special cases |
- | |[[litespeed_wiki:cache:lscwp:information:admin-ip-commands|Admin IP Commands]]|Access certain admin functions via query string| | + | * [[litespeed_wiki:cache:lscwp:information:admin-ip-commands|Admin IP Commands]]: Access certain admin functions via query string |
- | |[[litespeed_wiki:cache:lscwp:information:common-rewrite-rules|Common Rewrite Rules]]|Examples of Rewrite Rules commonly used by LSCache| | + | * [[litespeed_wiki:cache:lscwp:information:common-rewrite-rules|Common Rewrite Rules]]: Examples of Rewrite Rules commonly used by LSCache |
- | |[[litespeed_wiki:cache:lscwp:configuration:cache:object_cache|Using Memcached or Redis]]|How to use an object cache alongside LSCache for WordPress| | + | * [[litespeed_wiki:cache:lscwp:understanding_cookies|Understanding Cookies]]: Learn about the relationship between cookies and cache varies |
- | |[[litespeed_wiki:cache:lscwp:api|The LSCWP API]]|For developers: use our API to interact with LSCWP| | + | * [[litespeed_wiki:cache:lscwp:configuration:cache:object_cache|Using Memcached or Redis]]: How to use an object cache alongside LSCache for WordPress |
- | |[[litespeed_wiki:cpanel:whm-plugin-lscwp-management|WHM LSCWP Management]]| Managing WP and LSCWP through our cPanel WHM plugin| | + | * [[litespeed_wiki:cache:lscwp:api|The LSCWP API]]: For developers: use our API to interact with LSCWP |
- | |[[litespeed_wiki:cache:lscwp:wordpress_cli|LSCWP WP CLI]]|Commands for use with the WordPress Command Line Interface| | + | * [[litespeed_wiki:cpanel:whm-plugin-lscwp-management|WHM LSCWP Management]]: Managing WP and LSCWP through our cPanel WHM plugin |
- | |[[litespeed_wiki:cache:drop_query_string|Query String Cache Rules]]|Configure LiteSpeed Web Server to drop junk query strings| | + | * [[litespeed_wiki:cache:lscwp:wordpress_cli|LSCWP WP CLI]]: Commands for use with the WordPress Command Line Interface |
+ | * [[litespeed_wiki:cache:drop_query_string|How to drop your query string for cache?]]: Configure LiteSpeed Web Server to drop junk query strings | ||
+ | * [[litespeed_wiki:cache:lscwp:troubleshooting:exclude_wp-cron_from_php_timeout_limit|Run Wp-Cron with no Timeout]]: Run Wp-cron php process with no timeout | ||
+ | * [[litespeed_wiki:cache:lscwp:bypass|Bypass CDN and Optimize]]: How to bypass CDN and Optimize functions | ||
+ | * [[litespeed_wiki:cache:lscwp:scheduledpost|Scheduled Posts Not Publishing]]: Scheduled Posts Not Publishing On Time | ||
+ | * [[litespeed_wiki:cache:lscwp:crawlerfile|Crawler Sitemap File]]: Crawler Fails to Generate Sitemap File | ||
+ | * [[litespeed_wiki:cache:lscwp:handle-cookie-vary|Cookie Cache Vary]]: How to Configure Cookie Cache Vary | ||
+ | * [[litespeed_wiki:cache:lscwp:no-banner|Suppress Non-Critical Banners]]: How to Make Some Banners Go Away Forever | ||
===== Plugin Feedback and Support ===== | ===== Plugin Feedback and Support ===== | ||
Line 76: | Line 94: | ||
We frequently publish in-depth articles explaining the features of LSCWP and how to use them. If this interests you, be sure to take a look at [[https://blog.litespeedtech.com/tag/wordpress-wednesday/|WordPress Wednesday on our blog]]. | We frequently publish in-depth articles explaining the features of LSCWP and how to use them. If this interests you, be sure to take a look at [[https://blog.litespeedtech.com/tag/wordpress-wednesday/|WordPress Wednesday on our blog]]. | ||
- | {{:litespeed_wiki:cache:lscwp-review.png?direct&800|}} | + | {{:litespeed_wiki:cache:lscwp-review.png?nolink|}} |
We appreciate your feedback, and invite you to [[https://wordpress.org/plugins/litespeed-cache/#reviews|review LiteSpeed Cache for WordPress]], if you've found it to be beneficial to your site. | We appreciate your feedback, and invite you to [[https://wordpress.org/plugins/litespeed-cache/#reviews|review LiteSpeed Cache for WordPress]], if you've found it to be beneficial to your site. |