Abhishek Srivastava

Joined

1,230 Experience
12 Lessons Completed
0 Questions Solved

Activity

Great! I love it that you did a episode on something that is so commonly used and we apply it in practice easily as and when needed.

For some reason Cloudfront sends files with "text/html" where as the origin server is sending it correctly.
I am getting a warning from chrome Resource interpreted as Stylesheet but transferred with MIME type text/html, and browser has to do a 301 redirect to fetch the resource again.

Screenshots:

  1. Redirect - https://user-images.githubusercontent.com/749134/92719213-760abc80-f380-11ea-8732-3337d5f00534.jpg
  2. Warning - https://user-images.githubusercontent.com/749134/92719232-7c993400-f380-11ea-8a16-839a49913b63.jpg

The CDN should not cache a 404 response if cache control headers are set correctly right?