If I create a basic asp.net application and set the @outputcache the page is cached fine in chrome & IE on the desktop. First request returns 200, subsequent request return 304 for the default.aspx. (I'm monitoring through fiddler)
However accessing the same page from an iPhone I noticed that it's always returning 200 for the aspx file. All resources are being caching and are returning 304's. So it's just the aspx page.
Any ideas why this is happening?
Some technical details:
- <%@ OutputCache Duration="30" VaryByParam="None" Location="Any" %>
- Stock standard ASPX page. Content-Length: 2464
- Reloading on the iPhone using refresh control or keyboard "go" doesn't make a difference.
- Explicitly setting eTag does not make a difference
- Last-Modified is set
- but If-Modified-Since is not being send for the ASPX page
- Latest IOS 4.3.1
- IIS 7.5 running on Win7 using ASP.NET 4