Feature/improve static files caching

 * ttl_for_static_files is now configurable
 * limit the nr of restarts for not to show guru meditation if the server response is not less than 400 - this will also enable the 30 minutes cache for the erroneous files