Use bufio for cached response
Use DATA_DIR from environment