views:

11

answers:

1

What would the best practice approach and most desirable HTTP status code be for website / application pages that should not be displayed temporarily?

To outline possible alternatives -

Also, regarding caching and expiry, would it be best to set a no-cache or past expiry date header, vs. a retry-after, if the maintenance window has an expected time-line?

+1  A: 

The first option is almost definitely the best. Retry-after seems to be the most suitable header.

Amber