[webkit-dev] About bypassing caches for URLs listed in Fallback and/or Network section in a HTML5 Offline Web Application

Lianghui Chen liachen at rim.com
Tue Jul 13 09:55:55 PDT 2010


> 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:ap at webkit.org] 
Sent: Tuesday, July 13, 2010 12:27 PM
To: Lianghui Chen
Cc: Maciej Stachowiak; webkit-dev at lists.webkit.org
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.


More information about the webkit-dev mailing list