Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:cache:lscwp:configuration:cdn [2018/01/05 18:55]
Lisa Clarke [LSCWP Configuration Settings: CDN]
litespeed_wiki:cache:lscwp:configuration:cdn [2020/05/04 13:40]
Shivam Saluja
Line 1: Line 1:
-====== ​LSCWP Configuration ​Settings: CDN ======+====== ​LiteSpeed Cache for WordPress ​Settings: CDN ====== 
 +**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]].
  
 If you currently use a content delivery network, you can configure LSCWP so that they work together. If you currently use a content delivery network, you can configure LSCWP so that they work together.
Line 5: Line 6:
 NOTE: This setup is not necessary for Cloudflare or other distributed proxy networks. Only enable CDN support for reverse proxy content delivery networks! If you wish to manage your Cloudflare cache from within LSCache, skip most of this page and jump to [[litespeed_wiki:​cache:​lscwp:​configuration:​cdn#​cloudflare_api|the Cloudflare API setting]]. NOTE: This setup is not necessary for Cloudflare or other distributed proxy networks. Only enable CDN support for reverse proxy content delivery networks! If you wish to manage your Cloudflare cache from within LSCache, skip most of this page and jump to [[litespeed_wiki:​cache:​lscwp:​configuration:​cdn#​cloudflare_api|the Cloudflare API setting]].
  
-[[https://​blog.litespeedtech.com/​2017/​10/​11/​wpw-content-delivery-network-support/​|Learn more about CDN support on our blog.]] +{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-cdn.png?​nolink|}}
- +
-{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-cdn.png?​direct&​800|}}+
  
 ===== Enable CDN ===== ===== Enable CDN =====
Line 66: Line 65:
 </​code>​ </​code>​
  
-===== Original ​URL ===== +===Important=== 
-//your site URL//+If you have turned off any of the previous three settings, you will need to remove the corresponding file extensions from this **Include File Types** box.  
 + 
 +For example, if **Include CSS** is set to ''​OFF'',​ then remove ''​.css''​ and ''​.less''​ from the list. 
 + 
 + 
 +===== Original ​URLs ===== 
 +//your site URL(s)//
    
 This setting defaults to your site's base URL. It shouldn'​t be necessary to change this. If you do change it, be sure that the URL begins with ''<​nowiki>//</​nowiki>''​ as in ''<​nowiki>//​yoursite.com</​nowiki>''​. You may use a wildcard (''​*''​) here to specify 0 or more characters. ​ This setting defaults to your site's base URL. It shouldn'​t be necessary to change this. If you do change it, be sure that the URL begins with ''<​nowiki>//</​nowiki>''​ as in ''<​nowiki>//​yoursite.com</​nowiki>''​. You may use a wildcard (''​*''​) here to specify 0 or more characters. ​
  
 +If your site spans multiple base URLs, you may enter them all here, separated by commas. For example:
 +
 +<​code>​
 +//​a.yoursite.com,​ //​b.yoursite.com,​ //​c.yoursite.com
 +</​code>​
 +
 +===== Included Directories =====
 +//​wp-content\\
 +wp-includes\\
 +/min/ //
 +
 +These are the directories that will be served by CDN. You shouldn'​t need to change this unless you have a non-standard configuration.
  
 ===== Exclude Path ===== ===== Exclude Path =====
-//OFF//+//list of paths to exclude from CDN//
    
 Use this spot to list file paths that you explicitly do not want to have served from the CDN. List them one per line. You can list a path in its entirety, or use a partial path that will be matched. Do not use wildcards. Use this spot to list file paths that you explicitly do not want to have served from the CDN. List them one per line. You can list a path in its entirety, or use a partial path that will be matched. Do not use wildcards.
  • Admin
  • Last modified: 2020/11/14 15:21
  • by Lisa Clarke