Moved setting caching headers to the start of each route
Don't set Vary header when choosing format using filename extension (fixes #52)