|
|
@ -351,7 +351,6 @@ public class ResourceInfo implements IResourceInfo {
|
|
|
|
// finally, we shall treat the cache as stale if the modification time is after the if-.. time
|
|
|
|
// finally, we shall treat the cache as stale if the modification time is after the if-.. time
|
|
|
|
if (d2.after(d1)) { return false; }
|
|
|
|
if (d2.after(d1)) { return false; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String mimeType = this.getMimeType();
|
|
|
|
String mimeType = this.getMimeType();
|
|
|
|
if (!plasmaHTCache.isPicture(mimeType)) {
|
|
|
|
if (!plasmaHTCache.isPicture(mimeType)) {
|
|
|
@ -366,6 +365,7 @@ public class ResourceInfo implements IResourceInfo {
|
|
|
|
return false; // too strong
|
|
|
|
return false; // too strong
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// -pragma in cached response
|
|
|
|
// -pragma in cached response
|
|
|
|
// logically, we would not need to care about no-cache pragmas in cached response headers,
|
|
|
|
// logically, we would not need to care about no-cache pragmas in cached response headers,
|
|
|
|