Code and deployment steps for checking cached pages