Genie 7110 manual Nokia Caching, Mitsubishi Trium Caching, Genie Application Style Guide

Models: 7110

1 84
Download 84 pages 46.18 Kb
Page 72
Image 72
Nokia Caching

13 Cache

Example 13-2

<head>

<link href="page2.wml" rel="next"/> </head>

<card id="page1">

<do type="accept" label="More"> <go href="page2.wml"/>

</do>

<p>

Page 1 of 2<br/>

...

</p>

</card>

Example 13-2shows how to prefetch the content of the next card. When the user loads the deck, page2.wml is automatically loaded in the background as soon as the current deck is completed loading. This ensures that page2.wml is already in the cache when the user presses the <do type="accept"> key.

Force the reloading of the deck for dynamic data.

Example 13-3

<meta http-equiv="Cache-control" content="no-cache" forua="true"/>

<meta http-equiv="Cache-control" content="must-revalidate" forua="true"/>

Example 13-3shows how to force a reloading of the deck each time the card is accessed in the forward or backward direction.

Nokia Caching

Force the reloading of a deck for dynamic data.

Example 13-4

<head>

<meta http_equiv="Expires" content="0" forua="true"/> </head>

Example 13-4shows how to force a reloading of the deck each time the card is accessed in the forward or backward direction.

The maximum cache size is 40KB, and the maximum size for a single compiled deck is 1397 bytes.

The default TTL for a deck, if one is not defined, is one day.

Mitsubishi Trium Caching

The cache behaviour is unknown; however, the default cache time is approximately one hour.

68 Genie Application Style Guide

February 2001

Page 72
Image 72
Genie 7110 manual Nokia Caching, Mitsubishi Trium Caching, Genie Application Style Guide