-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathNoCacheRuntime
More file actions
17 lines (13 loc) · 590 Bytes
/
Copy pathNoCacheRuntime
File metadata and controls
17 lines (13 loc) · 590 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DATA: ls_response_header TYPE ihttpnvp.
"now prevent caching for all responses. Below response headers prevent caching
ls_response_header-name = 'Cache-Control'.
ls_response_header-value = 'no-cache, no-store'.
set_header( ls_response_header ).
ls_response_header-name = 'Pragma'.
ls_response_header-value = 'no-cache'.
set_header( ls_response_header ).
ls_response_header-name = 'Expires'.
ls_response_header-value = '0'.
set_header( ls_response_header ).
"Using Headers
chs_response_context-do_not_cache_on_client = abap_true.