Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

meaning of response.setHeader  RSS feed

 
sweety mehra
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why we use following statement in servlets

response.setHeader("pragma,"nocache");
 
Ravinder Rana
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This header is used to prevent caching at the proxy server. For more information you can refer to caching
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!