Hi StevePo ,
First of all, welcome to the Buttonizer Community!
Buttonizer does not change any cache-header at this moment (expecting WordPress, the webserver or the client-browser handles this). From our tests this happens in the most cases.
However, it is possible that a plugin changes the cache-control header in their advantages. What you could try is forcing the cache-control
for the admin-ajax.php?action=buttonizer
URL via your .htaccess
file.
Example code:
<IfModule mod_headers.c>
<If "%{THE_REQUEST} =~ m#\s\/wp-admin\/admin-ajax\.php\?action=buttonizer(.*)#">
Header set Cache-Control: "max-age=1800"
</If>
</IfModule>
This way you are able to customize the Cache-Controls
for Buttonizer only. The responses of the code above will be cached client-side for 30 minutes (30 * 60 seconds).
Let me know if this helps 🙂