Support » Plugin: LiteSpeed Cache » Vary Cookie in plugin?

  • Resolved oyvindlille

    (@oyvindlille)


    Is there any way of setting RewriteRule .* – [E=Cache-Vary:CookieName] in the plugin, or is editing .htaccess the only way? If I do need to edit .htaccess; Where in .htaccess to I place it to prevent overwriting when doing changes in plugin?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Currently direct edit .htaccess is the only way , it should be improved in future version.

    take this as example

    It should not be modified until you enable/disable the cache function.

    Best regards,

    Thank you for the fast reply @qtwrk!

    Yeah, I found that answer through google, but just wanted to check if there was any update to it.

    My RewriteRule was removed when I removed my cookie from the exclude field in plugin settings.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Sorry for the trouble , but it is the only way for now …

    this should be improved in future version 🙂

    Best regards,

    Plugin Support stanley@litespeed

    (@stanleylitespeed)

    Hi @oyvindlille, you can use our API to add cookies, if you are going to edit the .htaccess file, just put your code outside ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## comment block.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.