add more status code 307, 308 400 and 503
[#43] fix index resource to be cached