Skip to Content
MOBILE WEB程式設計--第二版
book

MOBILE WEB程式設計--第二版

by Maximiliano Firtman
December 2013
Intermediate to advanced
752 pages
16h
Chinese
GoTop Information, Inc.
Content preview from MOBILE WEB程式設計--第二版
494
|
第十三章
WebKit 瀏覽器,如 iOS SafariGoogle Chrome BlackBerry 瀏覽器,支援每個源頭
(網域或子網域),每個存放空間(local session5 MB。但是 WebKit 中的字串是以
UTF-16 編碼的方式來儲存,所以每個字元占用 2 bytes,總共給我們 2.5 MB UTF-8
字。Android 瀏覽器的 session 存放空間沒有限制,但 WebKit local 存放空間有
限制。
The Financial Times
HTML5 Web App 的團隊釋出了一段程式碼來壓縮及
解壓縮字串,充分利用 UTF-16 5 MB 存放空間。透過這個簡單的演算法
http://mobilexWeb.com/go/ftcompress
),儲存的容量可達 4 MB,而不是
WebKit 瀏覽器原始的 2.5 MB 限制。
13-1 列舉目前 Web Storage API 的限制。
13-3 每一種平台的 Web Storage API 限制
瀏覽器∕平台 初始本機存放空間限制 對話存放空間限制 可超越限制
iOS Safari 2.5 MB UTF-16 2.5 MB UTF-16
Android 瀏覽器 2.5 MB UTF-16 無限制
Android Chrome 2.5 MB UTF-16 2.5 MB UTF-16
Symbian Nokia Browser 2.5 MB UTF-16 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

成為卓越程式設計師的38項必修法則

成為卓越程式設計師的38項必修法則

Pete Goodliffe
精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly

Publisher Resources

ISBN: 9789862769522