Why? Everything else being equal that would just mean you'd get a completely blank page because the database connection would have died in the initial request rather than the ajax request
No, because a static page generator would mean that there is no database connection.