"Stopping" the browser does not terminate the request made to the server. That request will continue running until it is finished, timed out or terminated on the server it self.
Nginx/MySQL/PHP caching?
This isn't really an issue but I'm just curious as to what's happening!
I'm working with Laravel 5.7 on Homestead and I'm experimenting with around 20,000 rows of data in MySQL. I'm running a process in Laravel that inserts the data when I submit a form on my webpage. Quite often if the data doesn't look to be working out for me I hit the stop button in the browser so I can amend my PHP and try again.
I have noticed however that once I hit stop on the browser tool bar the process looks like it has stopped but then rows keep getting inserted into the MySQL database for several minutes afterwards.
Could anyone tell me what is continueing to insert into MySQL when I've stopped the page in the browser? I'm assuming the data must be cached somewhere and is then taking minutes to be flushed into the database but is it Nginx or PHP or MySQL that's doing this? or a combination of all three?
Thanks,
Steve
Please or to participate in this conversation.