Server handles POST requests and encodes files and sends them. Already encoded files are cached and not encoded again.