1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00
phorge-phorge/conf
epriestley e27c5f26e5 Allow Celerity to return "304 Not Modified" responses
Summary:
We always return HTTP 200 right now and don't send a "Last-Modified" header, so
browsers download more data then necessary if you sit on a page mashing reload
(for example).

Test Plan:
Used Charles to verify HTTP response codes from 400, 404 and 304 responses.

Mashed reload a bunch and saw that the server sent back 304s.

Changed the resource hash seed and saw 200s, then 304s on reload.

Reviewed By: tuomaspelkonen
Reviewers: tuomaspelkonen, jungejason, aran
CC: bmaurer, aran, tuomaspelkonen
Differential Revision: 253
2011-05-10 14:33:11 -07:00
..
__init_conf__.php Slightly improve error message when the user specifies a bogus 2011-04-05 10:48:36 -07:00
default.conf.php Allow Celerity to return "304 Not Modified" responses 2011-05-10 14:33:11 -07:00
development.conf.php PhabricatorEnv 2011-01-31 11:55:26 -08:00
production.conf.php Improve docs to a semi-defensible level. 2011-02-11 14:58:45 -08:00
setup.conf.php Improve docs to a semi-defensible level. 2011-02-11 14:58:45 -08:00