I'm just wondering what could cause my xap to expire every half day (approximately). I mean, in the morning the user gets to the website and he uploads a copy of xap, by noon, if that user returns to the website and the website downloads another copy of xap for them.
I would hope that the only reason the user would need to download a new copy of xap would be when they clear their browser cache or ive will put a new copy on the server.
Any ideas on what would be the problem and fix it?
I ran fiddler on XAP boot and got the following lines from the cache tab of the xap boot record in the violin.
HTTP / 200 responses are cached by default if Expires, Pragma, or Cache-Control headers are not present and prohibit caching.
HTTP / 1.1 ETAG header present: "2ad1d6bfdd43cb1: 0" HTTP Last-Modified Header present: Tue, Aug 24 2010 22:43:19 GMT
There is no explicit HTTP expiration information. Most browsers use expiration heuristic policies: 10% delta between Last-Modified and Date is '02: 53: 34 ', so this answer will expire heuristically on 08/26/2010 4:39:26 PM.
Would this be a problem? Where to set explicit HTTP expiration?
silverlight xap
Matt
source share