static NanoHTTPD.Response maxCacheHeaders(NanoHTTPD.Response r) { r.addHeader("Pragma", "public"); r.addHeader("Cache-Control", "public, max-age=86400"); ret r; }
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: | 762 / 814 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |