We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bcee21a + 034c04e commit ee6f66bCopy full SHA for ee6f66b
1 file changed
ios/FPStaticServer.m
@@ -77,7 +77,7 @@ - (dispatch_queue_t)methodQueue
77
NSString *basePath = @"/";
78
NSString *directoryPath = self.www_root;
79
NSString *indexFilename = @"index.html";
80
- NSUInteger cacheAge = 3600;
+ NSUInteger cacheAge = 0;
81
BOOL allowRangeRequests = YES;
82
[_webServer addHandlerWithMatchBlock:^GCDWebServerRequest*(NSString* requestMethod, NSURL* requestURL, NSDictionary<NSString*, NSString*>* requestHeaders, NSString* urlPath, NSDictionary<NSString*, NSString*>* urlQuery) {
83
if (![requestMethod isEqualToString:@"GET"]) {
0 commit comments