1 | static NanoHTTPD.Response maxCacheHeaders(NanoHTTPD.Response r) { |
2 | r.addHeader("Pragma", "public"); |
3 | r.addHeader("Cache-Control", "public, max-age=86400"); |
4 | ret r; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007585 |
Snippet name: | maxCacheHeaders - add HTTP headers for 24 hour caching |
Eternal ID of this version: | #1007585/4 |
Text MD5: | cc33756b5f49b64c5f28d44654a7b095 |
Author: | stefan |
Category: | javax / http |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-29 02:47:31 |
Source code size: | 172 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 541 / 587 |
Version history: | 3 change(s) |
Referenced in: | [show references] |