|How-to||– 5 min read –||September 26, 2019|
How many GET parameters can be in the page URL
What are the GET parameters
This is public data available when you view the link in the story once again. Using such a request is relevant when the address bar data does not change. That is, every time you access a page with the given parameters, its address remains constant.
A GET request consists of a domain, page address, and parameters that follow the "?" sign. The format of one parameter looks like this: "key = description". The whole request looks like this:
As a result, the browser will display the following information:
The use of such a request makes sense if you need to save or send a link. It is better to use the POST request to transfer confidential information. Pages requested by the GET parameter are always static.
How many GET parameters are considered correct
There is no specific maximum value for a GET request. One server can accept a maximum of 8 KB, and the other one – 16 KB. The average request size ranges from 512-1024 Kb.
In fact, there should be no more than 5 parameters in one request, otherwise, each of them will be difficult to control from the server and browser side. If you need to transfer a large amount of information, using the POST method is recommended.
When using friendly URLs, multiple GET parameters are transmitted in a hidden format. To see the complete request, it is necessary to temporarily turn off the friendly URLs.
The HTTP protocol does not limit the size of GET requests, but each browser and server have a data transfer limit. It is recommended to use an average of 512-1024 Kb or a maximum of 5 parameters to create one request.
|Run Site Audit|
Learn how to get the most out of Serpstat
Want to get a personal demo, trial period or bunch of successful use cases?
Send a request and our expert will contact you ;)
Cases, lifehacks, researches and useful articles
Don’t you have time to follow the news? No worries!
Our editor Stacy will choose articles that will definitely help you with your work. Join our cozy community :)