Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1032485 // favIconHeaders

JavaX fragment (include)

1  
sO favIconHeaders(O response) {  
2  
  call(response, "addHeader", "Cache-Control", "public, max-age=" + iround(hoursToSeconds(favIconCacheHours())));
3  
  ret response;
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032485
Snippet name: favIconHeaders
Eternal ID of this version: #1032485/1
Text MD5: 9aca368ae7f8e7f249a4e753335560b1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-10 05:14:02
Source code size: 168 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 204 / 205
Referenced in: [show references]