> As I mentioned in the bug, the resource can be served with pragma no- 
> store. In that case, there will be no expired resource in the cache.

Will WebKit cache respect the cache-controls in http headers?

-----Original Message-----
From: Alexey Proskuryakov [mailto:[email protected]] 
Sent: Tuesday, July 13, 2010 12:27 PM
To: Lianghui Chen
Cc: Maciej Stachowiak; [email protected]
Subject: Re: [webkit-dev] About bypassing caches for URLs listed in Fallback 
and/or Network section in a HTML5 Offline Web Application


13.07.2010, в 9:21, Lianghui Chen написал(а):

> And actually there's another small issue to leave the browser or  
> webkit cache to do the revalidation of the freshness: when it's  
> offline they just cannot do it, and it will quite possibly return  
> the expired resource. So when it's offline, we will always get the  
> "fallback namespace" item instead of its mapping "fallback entry",  
> until the cache is cleared.


As I mentioned in the bug, the resource can be served with pragma no- 
store. In that case, there will be no expired resource in the cache.

If a hosting service doesn't allow .htaccess or any kind of CGI  
scripts, it's pretty much unsuitable for serving offline applications  
anyway, since one needs a custom content type for the manifest.

- WBR, Alexey Proskuryakov


---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to