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.

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

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.