iPhone용 Safari에 최적화된 웹사이트 구축시 메모리 때문에 리소스의 제한이 있다.
다음을 참고해 두자.
-------------------
■
The maximum decoded image size for GIF, PNG, and TIFF images is 2 megapixels. : [폭x높이 <= 2*1024*1024] 를 보장해야 한다.
■
The maximum decoded image size for JPEG is 32 megapixels using subsampling. : JPEG images can be up to 32 megapixels due to subsampling, which allows JPEG images to decode to a size that has one sixteenth the number of pixels. JPEG images larger than 2 megapixels are subsampled—that is, decoded to a reduced size. JPEG subsampling allows the user to viewimages from the latest digital cameras. (subsampling이 뭘까? -.-;)
■
The decoded size of animated GIF images must be less than 2 MB. : 크기가 초과하는 경우는 첫번째 프레임만 보여준다.
■
Individual resource files must be less than 10 MB. : HTML, CSS, Javascript 파일들
■
JavaScript execution time is limited to 5 seconds for each top-level entry point. : This limit is imposed because JavaScript execution may cause the main thread to block, so when scripts are running, the user is not able to interact with the webpage.
iPhone OS의 특성 때문인데 기억해 두자.
■
JavaScript allocations are limited to 10 MB. : 스크립트에 할당된 전체 메모리가 초과 되는 경우 Safari가 exception을 보낸다.
■
The maximum number of documents that can be open at once is eight.-------------------
최적화를 위해 리소스 제한이 있는 한 풀브라우징이 별로 의미가 없지 않나?