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:configuration:cdn [2018/03/29 20:10] Lisa Clarke Adjusted title |
litespeed_wiki:cache:lscwp:configuration:cdn [2019/04/12 18:38] Lisa Clarke [LiteSpeed Cache for WordPress Settings: CDN] |
||
---|---|---|---|
Line 5: | Line 5: | ||
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]]. | ||
- | {{:litespeed_wiki:cache:lscwp:lscwp-settings-cdn.png?direct&800|}} | + | {{:litespeed_wiki:cache:lscwp:lscwp-settings-cdn.png?nolink|}} |
===== Enable CDN ===== | ===== Enable CDN ===== | ||
Line 64: | Line 64: | ||
</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. | ||
Line 74: | Line 80: | ||
//a.yoursite.com, //b.yoursite.com, //c.yoursite.com | //a.yoursite.com, //b.yoursite.com, //c.yoursite.com | ||
</code> | </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. |