add local db for testing
add cache header to public images