Added cache control and server headers to response
Added platform check to ensure both nix and windows paths are supported