Forum Discussion
3 Replies
Sort By
- acola_114231NimbostratusWould like to append server response with " " in HTTP of specific pages.
- acola_114231Nimbostratus"" "" eliminate all 's
- IheartF5_45022Nacreous
If you want to insert into HTML then you have to collect the response (which is relatively CPU intensive), insert the header and then forward, however there is a much easier way to acheive the same thing using HTTP/1.1 Cache-Control headers;-
when HTTP_RESPONSE { if {[HTTP::header Content-Type] contains "html"} { HTTP::header insert Pragma "no-cache" HTTP::header insert Expires "Fri, 01 Jan 1990 00:00:00 GMT" HTTP::header replace Cache-Control "no-cache,no-store" } }