Differences

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

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:litemage:troubleshooting:cloudflare-cache-should-be-disabled [2017/11/08 13:47]
Lisa Clarke
litespeed_wiki:cache:litemage:troubleshooting:cloudflare-cache-should-be-disabled [2017/11/09 19:07] (current)
Jackson Zhang
Line 19: Line 19:
 LiteMage is smart enough to handle this situation in its page cache, but Cloudflare and other CDNs are not. LiteMage is smart enough to handle this situation in its page cache, but Cloudflare and other CDNs are not.
  
-The solution is to turn off all Cloudflare caching for dynamic content, keeping only static files such as CSS, JS, JPG, PNG, etc. and leave the page caching to LiteMage.+The solution is to turn off all Cloudflare caching for dynamic content, keeping only static files such as CSS, JS, JPG, PNG, etc. and leave the page caching to LiteMage. ​The correct header should be:''​cache-control:​ no-store, no-cache''​ 
 + 
 +{{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage-cloudflare-correctcacheheader.png?​500 |}}
  • Admin
  • Last modified: 2017/11/09 19:07
  • by Jackson Zhang