[Project_owners] Static memory posibilities...

Adam Judson adamsplugins at gmail.com
Tue Feb 7 13:36:56 EST 2006


On 06/02/06, Neil <neil at parkwaycc.co.uk> wrote:
> I think the best you can do is to load it from the cache using the
> following flags:
> const nsIRequest = Components.interfaces.nsIRequest;
> browserElement.loadURIWithFlags(serverURI, nsIRequest.LOAD_FROM_CACHE |
> nsIRequest.VALIDATE_NEVER);


I believe these flags are lost before they make it to the channel code.

See nsDocShell::ConvertDocShellLoadInfoToLoadType which is called when
you use LoadURI.

Not sure why this is...

Adam


More information about the Project_owners mailing list