Mercurial > osx-quasimode
changeset 4:11056d446ed6
Load of web content now ignores local cache data.
author | Atul Varma <avarma@mozilla.com> |
---|---|
date | Sun, 11 Apr 2010 13:06:30 -0700 |
parents | f3501a348031 |
children | 620147798b16 |
files | MyApp.m |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MyApp.m Sun Apr 11 12:54:15 2010 -0700 +++ b/MyApp.m Sun Apr 11 13:06:30 2010 -0700 @@ -27,7 +27,11 @@ groupName: nil]; NSURL *url = [NSURL URLWithString: @"http://127.0.0.1:8000"]; - NSURLRequest *req = [NSURLRequest requestWithURL: url]; + NSURLRequest *req = [ + NSURLRequest requestWithURL: url + cachePolicy: NSURLRequestReloadIgnoringLocalCacheData + timeoutInterval: 5 + ]; [view setDrawsBackground: NO]; [[[view mainFrame] frameView] setAllowsScrolling: NO];