Add Pragma: no-cache to PSM UI pages. This prevents caching by the client

and avoids bugs due to missing UI Events, and display of stale content.
This commit is contained in:
thayes%netscape.com 2000-08-11 17:32:25 +00:00
parent 1c694399ea
commit edeb93ad2f

View File

@ -483,7 +483,7 @@ http_error_content:
:http_error_content
; In the normal header: 0=additional headers, 1=content type
http_header_template="HTTP/1.0 200 OK<psm:cr><psm:lf>%1$sContent-Type: %2$s<psm:cr><psm:lf>Connection: close<psm:cr><psm:lf><psm:cr><psm:lf>"
http_header_template="HTTP/1.0 200 OK<psm:cr><psm:lf>%1$sContent-Type: %2$s<psm:cr><psm:lf>Connection: close<psm:cr><psm:lf>Pragma: no-cache<psm:cr><psm:lf><psm:cr><psm:lf>"
; Standard preamble for most HTML pages
html_start=<html><head><psm:cr><psm:lf><meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">{disable_right_click_js}</head><body bgcolor=#{$1}>