Home > Net >  How to create custom Vary group in litespeed WordPress plugin?
How to create custom Vary group in litespeed WordPress plugin?

Time:12-24

I am trying to create custom Vary group (ESI) based on user capability instead of role in my wordpress website. Please help if anyone have solution to customize it.

CodePudding user response:

you need to use other plugin , like role editor , to create different roles first , and then set them to different varies in ESI

CodePudding user response:

Or if you want to code on your own, you may refer to this : https://github.com/litespeedtech/lscache_wp/blob/master/src/vary.cls.php#L416

  • Related