added automatic apc cache flush for sandbox