Currently if the script execution ends before the WordPress shutdown handler has been set up, we don't sent the end trace. This is a problem because Batcache (or any advanced-cache.php) HIT will be before the shutdown handler for WordPress has been set up.
We have to add our own shutdown handler in all cases, and only use it where appropriate.
Currently if the script execution ends before the WordPress shutdown handler has been set up, we don't sent the end trace. This is a problem because Batcache (or any advanced-cache.php) HIT will be before the shutdown handler for WordPress has been set up.
We have to add our own shutdown handler in all cases, and only use it where appropriate.