For 304 Not Modified responses that are a result of a user agent generated conditional request the user agent must act as if the server gave a 200 OKresponse with the appropriate content. The user agent must allow setRequestHeader() to override automatic cache validation by setting request headers (e.g., If-None-Match, If-Modified-Since), in which case 304 Not Modified responses must be passed through. [RFC2616]
--
You received this message because you are subscribed to the Google Groups "angular" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.
I recently faced the same issue. After some digging, I finally found the root cause is the modification date of template HTML files are too old. I found that if your template files modified earlier than 1997-0726 05:00, the issue would happen.
Note that my testing web server is lighttpd, other webservers may have a similar issue but the date may vary.
For example, you can execute the following command to reproduce this issue or fix the issue, where the *.html file are angular template files.