- attached crash-20140911-1834.log
During the presentation of the site for Balrådet, there was a crash when trying to submit the registration form.
The attached log-file from the event shows how the CSRF-token doesn't seem to be valid:
Can't verify CSRF token authenticity
This seems to be caused by the web browser caching the site even though it is not static. When trying to retrieve the site twice, the site is delivered with a 304 Not Modified HTTP status. This behaviour is not expected as the server sends the following header:
$ curl -I http://desolate-headland-7399.herokuapp.com/anmalan
HTTP/1.1 200 OK
[...]
Cache-Control: max-age=0, private, must-revalidate
[...]