Andi Huber (JIRA)
2017-05-17 00:36:04 UTC
Andi Huber created ISIS-1619:
--------------------------------
Summary: Blob/Clob Action results are cached no matter what
Key: ISIS-1619
URL: https://issues.apache.org/jira/browse/ISIS-1619
Project: Isis
Issue Type: Bug
Components: Core: Viewer: Wicket
Affects Versions: 1.14.0
Reporter: Andi Huber
Fix For: 1.15.0
If you click an Action that returns a Blob (download), the client receives a HTTP response header with an entry Pragma: "cache".
If the Blob is dynamically changing with every request, the client will not see this changes. (As long as the request url stays the same.)
Expected behavior would be (at least for this code snippet) to produce Pragma: "no-cache"
@Action(semantics=SemanticsOf.NON_IDEMPOTENT)
public Blob download() {
return new Blob("blob", "application/json", "{}".getBytes());
}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
--------------------------------
Summary: Blob/Clob Action results are cached no matter what
Key: ISIS-1619
URL: https://issues.apache.org/jira/browse/ISIS-1619
Project: Isis
Issue Type: Bug
Components: Core: Viewer: Wicket
Affects Versions: 1.14.0
Reporter: Andi Huber
Fix For: 1.15.0
If you click an Action that returns a Blob (download), the client receives a HTTP response header with an entry Pragma: "cache".
If the Blob is dynamically changing with every request, the client will not see this changes. (As long as the request url stays the same.)
Expected behavior would be (at least for this code snippet) to produce Pragma: "no-cache"
@Action(semantics=SemanticsOf.NON_IDEMPOTENT)
public Blob download() {
return new Blob("blob", "application/json", "{}".getBytes());
}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)