Is GET method is faster than POST? [duplicate]
Possible Duplicate:
Why GET method is faster than POST?
I use both methods for transfering data but not decide which is faster and recommended.
GET may be considered slightly faster in that it contains less overhead, but the difference should be essentially negligible. The difference between the two is based on other factors. There's lots of discussion here.
The choice of method ought to be made on what the action is doing not on which is faster. Use GET for actions that obtain data. Use POST for actions that create/modify data. Using a GET for an action that creates or modifies data can have awful consequences if the URL is bookmarked.
精彩评论