null check for web cache service