{"id":17083321,"date":"2023-09-27T14:21:54","date_gmt":"2023-09-27T14:21:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-cache-control-header\/"},"modified":"2023-09-27T14:21:54","modified_gmt":"2023-09-27T14:21:54","slug":"using-cache-control-header","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-cache-control-header\/","title":{"rendered":"Using Cache-Control header"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My form plugin uses a Cache-Control header to disable (back\/forward) cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>header( 'Cache-Control:no-store, max-age=0' ); <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After succesful submission my site visitor is being redirected to a thank you page. I&#8217;ve added the Cache-Control header to avoid that visitor is seeing the filled in form again when pressing the back button of his\/her browser. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My question: <br \/>Will this header cause a conflict with WP Super Cache?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Guido<\/p>\n","protected":false},"template":"","class_list":["post-17083321","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17083321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17083321\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17083321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}