Mercurial > p > roundup > code
comparison roundup/cgi/client.py @ 7258:b6839d357971
remove obsolete comment
remove commented out setting of pragma header. pragma header is obsolete.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 18 Apr 2023 16:28:24 -0400 |
| parents | 07ce4e4110f5 |
| children | 1cf1ffa65522 |
comparison
equal
deleted
inserted
replaced
| 7257:16d6d81b4565 | 7258:b6839d357971 |
|---|---|
| 818 return | 818 return |
| 819 | 819 |
| 820 # now render the page | 820 # now render the page |
| 821 # we don't want clients caching our dynamic pages | 821 # we don't want clients caching our dynamic pages |
| 822 self.additional_headers['Cache-Control'] = 'no-cache' | 822 self.additional_headers['Cache-Control'] = 'no-cache' |
| 823 # Pragma: no-cache makes Mozilla and its ilk | |
| 824 # double-load all pages!! | |
| 825 # self.additional_headers['Pragma'] = 'no-cache' | |
| 826 | 823 |
| 827 # pages with messages added expire right now | 824 # pages with messages added expire right now |
| 828 # simple views may be cached for a small amount of time | 825 # simple views may be cached for a small amount of time |
| 829 # TODO? make page expire time configurable | 826 # TODO? make page expire time configurable |
| 830 # <rj> always expire pages, as IE just doesn't seem to do the | 827 # <rj> always expire pages, as IE just doesn't seem to do the |
