{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"Apache: Remove cache-control header for HTML responses","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/861 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"861\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  <style type=\"text\/css\">\/**\n * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2014 Benny Baumann\n * (http:\/\/qbnz.com\/highlighter\/ and http:\/\/geshi.org\/)\n *\/\n.ini .de1, .ini .de2 {font: normal normal 1em\/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}\n.ini  {font-family:monospace;}\n.ini .imp {font-weight: bold; color: red;}\n.ini li, .ini .li1 {color: #DDD;}\n.ini .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}\n.ini .co0 {color: #666666; font-style: italic;}\n.ini .sy0 {color: #000066; font-weight:bold;}\n.ini .st0 {color: #933;}\n.ini .re0 {color: #000066; font-weight:bold;}\n.ini .re1 {color: #000099;}\n.ini .re2 {color: #660066;}\n.ini span.xtra { display:block; }\n<\/style><div class=\"code\"><table class=\"ini\"><tbody><tr class=\"li1\"><td class=\"ln\"><pre class=\"de1\">1\n2\n3\n4\n5\n6\n7\n8\n<\/pre><\/td><td class=\"de1\"><pre class=\"de1\"># remove header for html responses\nHeader always &#160; &#160;unset Cache-Control <span class=\"st0\">&quot;expr=%{CONTENT_TYPE} =~ m#text\/html#&quot;<\/span>\nHeader onsuccess unset Cache-Control <span class=\"st0\">&quot;expr=%{CONTENT_TYPE} =~ m#text\/html#&quot;<\/span>\n&#160;\n# override header for html responses\nHeader onsuccess unset Cache-Control\nHeader always &#160; &#160;set Cache-Control <span class=\"st0\">&quot;max-age=0, no-cache, no-store&quot;<\/span> <span class=\"st0\">&quot;expr=%{CONTENT_TYPE} =~ m#text\/html#&quot;<\/span>\n&#160;<\/pre><\/td><\/tr><\/tbody><\/table><\/div>\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/861\/rev-raw\/0c8bbeea60b5587cc20e483da537f8d0f214ab79\/site.conf\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/861#site.conf\">site.conf<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
