Is the URL URL parameter supported for caching?

Are these two URLs equivalent in terms of browser caching and seo website?

1 - http://example.com/resource.html?a=a&b=b
2 - http://example.com/resource.html?b=b&a=a

If the resource for the first URL is cached and the browser needs to find the resource for the second URL, can it use the cached resource? I want to know about caching because I can ensure that all internal links use the same order of parameters to improve cache performance.

Also, if my server treats these URLs as the same resource, what URL will Google index? Given SEO, will this be considered duplicate content? If so, I can use a 301 response to redirect to the correct URL. (This should also fix the caching issue.)

+4
source share
1 answer

If the resource for the first URL is cached and the browser needs to find the resource for the second URL, can it use the cached resource?

It's not obligatory. It depends on each browser implementation. But if you always use the same order of parameters, then this is not a problem in the first place.

Also, if my server treats these URLs as the same resource, what URL will Google index?

Both will be indexed by Google, but if you use canonical links or adjust the settings in Google Webmaster Tools, then they can be considered as one when displaying search results (i.e. Google will give preference to a single URL and will collect PageRank and other signals from another).

seo ? , 301 URL.

, , URL- . - (IMHO), .

+2

All Articles