问题
How are authentication cookies read/stored when using cache-manifest?
I am using cache manifest to speed up a jquery-mobile app that has a browser baseline of Safari Mobile. I am using the multi-page template and within in one of the pages, I make an ajax request to my server for dynamic data.
The issue I am encountering is that when I cache the multi page template(index.html), it technically is not authenticated during subsequent reloads/views and when I make the ajax request, the server is not able to read an expected cookie value to bypass the ACL and thus allow the get request.
Thank you in advance for replies.
来源:https://stackoverflow.com/questions/10437605/cache-manifest-how-to-handle-authentication-cookies