Hi Bonusball!
So it does work on the staging server? Maybe you could try and change the markup pattern to <picture>? If they still are
, RWP isn’t able to modify them for some reason.
Hi Stephan,
Yes, it works beautifully on staging. I tried using <picture> but that didn’t work.
I contacted my host and they said that production is cached with Varnish/Nginx and maybe a cookie or arg needs to be excluded from the cache for this to work properly?
It turns out that my host doesn’t strip out comments, but debug mode doesn’t output on prod, so surely there must be something cached there. Do you have any idea what it could be? If I pass it on to them they can exclude it from cache.
The only thing I can think of that might be cached is the plugin settings. That would explain why <img> isn’t replaced by <picture> and why the debug mode isn’t turned on.
If it helps, you can see the names of each setting here:
https://github.com/stefanledin/responsify-wp/blob/master/admin/responsify-wp-admin.php
Hello Stephan
Sorry for the late reply. I worked with my host to resolve the problem, eventually we totally turned off caching altogether, and it still didn’t work. I use WP Engine.
They are wondering if it’s a cookies or sessions problem
https://wpengine.com/support/cookies-and-php-sessions/
Do you think this might be it?
No, I’m not using any cookies or sessions. I have no idea what to do I’m afraid.