epiphyt / embed-privacy

Embed Privacy prevents loading of embedded external content and allows your site visitors to opt-in.
https://epiph.yt/en/embed-privacy/
GNU General Public License v2.0
19 stars 12 forks source link

Shortcode output gets cached #143

Closed MatzeKitt closed 1 year ago

MatzeKitt commented 1 year ago

Bug/Problem

If a page cache is enabled, the shortcode output gets cached, even if JavaScript detection is enabled.

Steps to reproduce

  1. Enable page cache
  2. Visit the opt-out shortcode page
  3. Change the always active setting for an embed provider
  4. Visit the opt-out shortcode page again

Version

1.5.1

Link

https://wordpress.org/support/topic/opt-out-shortcode-bug/

Environment info

No response

Code of Conduct