Adding cache-related headers

Added Cache-Control and Last-Modified headers for existing cacheable endpoints.
This is being done in a manual, ad-hoc way but we should explore a more systematic
way of setting theses.