Lag when submitting with ping enabled.

A number of users have told me that posting to b2 is sometimes really slow. I suspected it was because b2 pings and, and this post shows that it is a problem with
PHP Traveller documented a way for PHP to execute commands after a browser session/request is completed. It looks like a feature that isn’t very portable across PHP versions so probably not a reasonable solution for a publicly distributed application.

You might also like

If you like this post then please subscribe to my full RSS feed. You can also click here to subscribe by email. There are also my fabulous photos to explore too!

One thought on “Lag when submitting with ping enabled.

  1. My solution to the delay on was to implement my pinging of it in a shell-script that fires when the source for my front-page has changed. Details at but the short version is that a recurring job (run by cron) checks for a change, and if so, that handles pinging The extra level of indirection makes life a lot easier for me.

Leave a Reply

Loading Facebook Comments ...