Vercel IP 地理位置解析提升,覆蓋更多訪客並提升解析精度
IP geolocation now covers more visitors at higher resolution
Vercel 透過提升 IP 地理位置解析精度,現在能為近乎所有請求提供城市級資料,90% 流量可取得郵遞區號資訊。
Vercel 透過提升 IP 地理位置解析精度,讓開發者可即時掌握更精準訪客位置,輕鬆調整地理限制與本地化策略。
IP geolocation on Vercel now resolves visitor locations with finer network granularity, delivering city-level data for nearly all requests and postal-code data for 90% of traffic.
Geolocation data is now refreshed more often, so locations keep up as IP ranges are reassigned and routing changes. This is enabled for all projects with no code or configuration changes required. Existing geolocation headers along with the geolocation() helper in @vercel/functions, return the same fields for Vercel Functions and Routing Middleware.
If you use geolocation for access controls, localization, or compliance, some visitors will now resolve to a different city or country, most often traffic from VPNs, hosting providers, and leased IP ranges:
Physical termination location:
Subnets announced from a hosting provider in a different country than their regional internet registry (RIR) record now resolve to the data center where the traffic actually terminates.
Testing geo-dependent routes:
Verify access rules against an IP's active network location rather than its static registry allocation.
Read the request headers documentation for all available geolocation headers and fields.