http - What's the correct way of handling web requests during database maintenance? -


scenario: going scheduled database maintenance. hence unable serve dynamic content (just assume caching system in front of database needs maintained).

during time, what's correct way of handling web requests trying access dynamic resource?

what's correct http error code, if any, goes along notice service not available? should use errors in 5xx range?

what implications in terms of seo? hurt if search engine crawlers try access site , see lots of error codes or pages same notice instead of dynamic content? can recover that?

503 service unavailable correct response use in situation.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -