Page Cache & functions.php & A/B testing
-
Hi
As I understand it, page caching serves flat HTML pages. So Javascript still works OK, but no PHP runs.
Is this correct? Do no functions, hooks, actions, filters – does nothing run inside functions.php? (after the first time the page is served until the cache expires?)
If I have a function/action in functions.php that grabs querystring parameters & sets cookies, will this run? (or will this only run the first time, and subsequent requests will set the same cookie values irrespective of the querystring parameters)
If I have a function/filter (a Gravity Forms hook/filter) that populates hidden fields from those cookie values, will that run (or will it run first time, and all subsequent requests will contain the same form values from the first time?)
Likewise, if I’m using an A/B testing tool like Optimizely or VWO (that uses Javascript to manipulate the visitor experience), will these run correctly or will WP TOTAL CACHE interfere with their operation (and thus render my analytics data redundant)?
Any advice much appreciated.
Thanks
- The topic ‘Page Cache & functions.php & A/B testing’ is closed to new replies.