Stdout/Stderr text in database converts newlines to %0A. Pre process the text to replace %0A with \n. Wrap the output in a pre tag so the \n are rendered as expected.
Add dependency on Flask-Cache to support caching of query results.
Add copyright message.
Remove unused sys import.
Remove unused exception
Remove unused exception
Add Flask-Cache configuration