Github user ajs6f commented on a diff in the pull request:
https://github.com/apache/jena/pull/95#discussion_r45621175
--- Diff:
jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_Update.java
---
@@ -92,13 +93,15 @@ protected void doOptions(HttpServletRequest request,
HttpServletResponse respons
response.setHeader(HttpNames.hAllow, "OPTIONS,POST") ;
response.setHeader(HttpNames.hContentLengh, "0") ;
}
-
+
protected void doOptions(HttpAction action) {
doOptions(action.request, action.response) ;
}
@Override
protected void perform(HttpAction action) {
+ Cache cache = SPARQL_Query_Cache.getCache();
--- End diff --
A more subtle approach would be to clear the cache only if the action goes
through. If it fails and no chance is made to the data, there's no need to
clear the cache.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---