add cache control to data and files

fix message style issue
add expiration date for caching