Deal with cache and publishing options