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:config:server_push [2017/10/24 19:04] Lisa Clarke [Configure CDN to use Server Push] |
litespeed_wiki:config:server_push [2020/08/13 15:13] Jackson Zhang [Alternate Verification Method] |
||
---|---|---|---|
Line 21: | Line 21: | ||
There are two easy ways to verify your browser has HTTP/2 support: | There are two easy ways to verify your browser has HTTP/2 support: | ||
- | - Check your browser version against the table at [[http://caniuse.com/#search=http2 | this link]].\\ | + | - Check your browser version against the table at [[http://caniuse.com/#search=http2 | this link]]. \\ {{:litespeed_wiki:config:push-6.png?|}} |
- | {{:litespeed_wiki:config:push-6.png?|}} | + | - Visit the [[ https://http2.akamai.com/demo | Akamai online tool]] and let it auto-detect your browser's support. \\ {{:litespeed_wiki:config:push-7.png?|}} |
- | - Visit the [[ https://http2.akamai.com/demo | Akamai online tool]] and let it auto-detect your browser's support.\\ | + | |
- | {{:litespeed_wiki:config:push-7.png?|}} | + | |
====Configure LSCache to use Server Push==== | ====Configure LSCache to use Server Push==== | ||
Line 52: | Line 50: | ||
We welcome your feedback on our [[https://www.litespeedtech.com/support/forum/ | forum]]. | We welcome your feedback on our [[https://www.litespeedtech.com/support/forum/ | forum]]. | ||
+ | |||
+ | ==== Disble ''ls_smartpush'' cookie for a particular domain ==== | ||
+ | |||
+ | If you want to disable **ls_smartpush** cookie for a particular domain, you can use **SmartPush no-cookie** directive in .htaccess | ||
+ | |||
+ | <IfModule LiteSpeed> | ||
+ | SmartPush no-cookie | ||
+ | </IfModule> | ||
+ | | ||
+ | {{ :litespeed_wiki:config:ls_smartpush_cookie.png?800 |}} | ||
+ | |||
+ | |||
+ | {{ :litespeed_wiki:config:ls_smartpush_cookie_2.png?800 |}} | ||
+ | |||
+ | After you make changes to .htaccess, you will need to restart Chrome/Firefox to avoid getting cached version. It will look like: | ||
+ | |||
+ | {{ :litespeed_wiki:config:ls_smartpush_cookie_disable_cookie.png?800 |}} |