Data Protocol URL Size Limitations
While the data protocol specification itself does not outline size restrictions, individual applications may impose limitations. Here's a breakdown of size limits across popular web browsers:
Chrome: The limit varies depending on the document size. For documents under 2MB, the limit is the in-memory storage limit for arbitrary blobs. This limit is 2GB on 64-bit systems that are not running ChromeOS or Android. For all other cases, the limit is calculated as total_physical_memory / 5.
Firefox: Firefox offers unlimited support for data: URLs.
Internet Explorer 9 and Edge: These browsers have a 4GB limit for data: URLs.
Safari and Mobile Safari: The size limit for data: URLs in these browsers is currently unknown.
Alternatives to Data: URLs:
For cases where the size limits of data: URLs are insufficient, consider these alternatives:
Related Questions:
Refer to the following questions for additional insights and discussions on related topics:
The above is the detailed content of What are the Size Limits of Data Protocol URLs in Different Browsers?. For more information, please follow other related articles on the PHP Chinese website!