fix cache priming by directly deleting the nginx cache, improved curl commands