Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

View source always makes a new request

I forget this like once a year

Joel Clermont
Joel Clermont
2023-12-25

From our daily Laravel tips email. Get the next one in your inbox.

Heads up: This issue was fixed by browsers since this tip was written.

Just a friendly reminder that when you use the "View Source" feature in your browser, it always fetches a fresh page from the server using a GET request. This is true even if you're currently viewing a page which is the result of a POST request.

It's been this way across browsers forever, but I swear it bites me like once a year.

Here to help,

Joel

P.S. Next time you bump into a weird "head scratcher" bug, don't forget about our Get Unstuck calls.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.