Sometimes, I want to reload a page in Safari, but I submitted a form on the previous page. Is there any way, short of entering the URL bar (either with a mouse or with ⌘+L and pressing return), to reload the page without resending the form?
You mentioned clicking in the URL bar and pressing return, but if the form uses the GET method (form data in the URL itself), then clicking in the URL bar and pressing return does effectively resend it. However, if the form uses the POST method (form data sent in the HTTP request body), then clicking the URL bar and pressing will not send the form data and so the page will not be regenerated.
Note that if you tell Safari to reload a form-result page, it will usually ask you to confirm that you really want to do that, then resend the form data. The reason it asks is that there may well be some side-effect of the form (like charging your credit card) which you might not want to repeat. That's poor CGI design, but it happens.
|show 1 more comment|