@longman2020 Are you using the Free or the Pro version of RafflePress plugin?
@longman2020 If you are using the Pro version, please submit a support ticket to [email protected] so we can further check on it.
Finally my problem is solved after struggling for a few days.
But I want to share the solution here for others.
If you use rafflepress with litespeed cache, you must do these there things in your cache plugin.
1. exclude the plugin from minification.
2. exclude the plugin from being cahched.
3. Turning off lazy load iframes.
Now for the first task go to Page optimization > tuninig settings:
and insert the following URIs into the URI Excludes section to exclude the plugin from being minified:
/rafflepress
/rp
Now for the second task go to Cache > Excludes and insert the following URIs into the Do Not Cache URIs section to exclude the plugin from being cached:
rpid
rafflepress_id
Now for the third task go to Page optimization > Media settings and turn of the option Lazy Load Iframes.
Now everything works great.
I also guess these settings should be applied to every cache plugin.
Cheers!
-
This reply was modified 5 years, 9 months ago by
longman2020.
@longman2020 this is great! Thanks for sharing 🙂 We’ll add this to our docs. Cheers