better cache cleaning in developer mode
static file returns errors and file streams rather than contnet