mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
1c694399ea
commit
edeb93ad2f
@ -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}>
|
||||
|
Loading…
Reference in New Issue
Block a user