TAILIEUCHUNG - Firefox 3 REVEALED phần 3

Firefox 3, mặt khác, thực sự làm cho DOM lưu trữ hỗ trợ hữu ích, bằng cách cung cấp một vài khác "miếng mất tích" cần thiết để phát triển các ứng dụng chưa có mặt trong diễn đàn. Người đầu tiên là một cách để xác định các nguồn tài nguyên chưa có mặt trong diễn đàn thông qua một tập tin biểu hiện bộ nhớ cache, điều này có thể giống như thế này: | 17 Firefox 3 on the other hand actually makes DOM storage support useful by providing a few other missing pieces necessary to develop offline applications. The first one is a way to identify offline resources via a cache manifest file which may look something like this CACHE MANIFEST v1 Comments must be preceded by a hash symbol http http http http http http This manifest file is linked directly in the html tag html manifest http cache-manifest In this way you can tag resources for offline use static HTML pages images and scripts Furthermore by using the JAR protocol 29 it s also possible to compress scripts to save space and download time . Note that as of Firefox 3 offline resources must be listed within the cache manifest rather than being included in the page header using link rel offline or similar. This decision was taken in order to make Firefox compliant with the actual WHATWG At the moment Firefox 3 support for offline caching lacks resource versioning fallback entries opportunistically cached entries Other than that everything seems to be on track. Finally the event has been added which allows a page s JavaScript code to determine when the browser is online or offline. One way to make sure you re offline is to select File Work Offline but it should also be fired when the network connection is lost or not available. Success stories Well there s at least one for now Chris Double added offline support to the Zimbra email client31 a screencast is available32 . Now all we need is other browsers to fully embrace the Web Application specification and offer similar support . 29 http source 819-0913 author jarprotocol 30 http specs web-apps current-work offline 31 http 32 http .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.