Hello,
If you use W3 Total cache then go to Performance > Cache Croups > enable both https://prnt.sc/RNQ46alC8V5F
Regards