Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Request forwarding / redirecting

 
Monica Smith
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please let me know whether request redirecting or request forwarding is faster?
Thanks in advance.
Regards,
Monica
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since a redirect involves an extra cycle of response to the client and a new request, it has to be slower than forwarding.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic