ESyntax10.Scn.Fnt Z"StyleElemsAlloc TitleHelvetica24.Scn.FntHelvetica24b.Scn.Fnt2Helvetica10.Scn.FntHelvetica14.Scn.FntCourier10i.Scn.FntFInfoElemsAlloc#Syntax10.Scn.FntAuthor: Martin Erdpresser Matr.Nr: 93 55 000 / 871 email: k3075e2@c210.edvz-uni-linz.ac.at www: http://linz.info.at/students/martin.erdpresser O+Ԓ  ContentsHelvetica10b.Scn.Fnt D'LineElemsAllocHelvetica14b.Scn.Fnt LinkElemsAllocCache.TextS\ Helvetica12.Scn.FntCache.Text]Cache.Texto] D'e+Ԓ  AfterContents@~ ChapterMarkElemsAllocS\ Helvetica12b.Scn.Fnt Times12.Scn.Fnte Command F@~ Chapter]  Text Times12i.Scn.Fnt |        , Syntax10b.Scn.Fnt  5       #      .Syntax10m.Scn.FntDq@~ Chaptero]  TextAm User's Guide Web-Cache Martin Erdpresser  28.01.1997  Contents 1 Introduction  2 Installation  3 User commands   1 Introduction This programm enhances the performance of the Oberon WEB-Browser. The cache is used to keep local copies of frequently accessed documents on your harddisk, so loading time from network is reduced. Neverthanless, the command Web.Reload always compares the cached document to the network document and shows the most recent one. 2 Installation First Open the file Cache.Mod and verify, that the fitting VersionElem is selected, otherwise correct this and recompile the module. Then open the file Web.Profile and locate a section [WEB]. Add in line modules = .... the module name Cache This could look like: [Web] modules = HTTP HTML GIF XBM WebImages Cache Now you can enter a own section for the cache, where max. cachesize, operation mode and cache-data directory can be specified. [Cache] Size = MaxCacheSizeInKb Mode = "never" OR "once" OR "always" Dir = "DirectoryOfCacheData" Example: [CACHE] Size = 2048 Mode = "once" Dir = "$Data" Size is wrappen into bounds of 1024 kB <= current size <= 1 048 575 kB Mode settings let you specify, how often the browser checks the network for document revisions. By checking for revisions, the browser knows to bring an updated page from a network server rather than a potentially stale page storen in the cache. Mode = "never" no check is performed Mode = "once" check for page revisions only once during a session Mode = "always" check is performed whenever a page is requested Dir setting describes where cachedata goes into. You can specity a: relative path to Oberon-startupdirectory, e.g. Dir = "$Data" or an absolute path. If the directory ist not accessible or cannot be created, the program tries to continue with an directory "Data" relatively to your current directory. If one of above settings are missing or invalid, then following default values are assumed: Size = 1024 Mode = "once" Dir = "$Data" 3 User commands There is only one user command to use with the Web-Cache, it's: Cache.CleanUp When executed, all cached files are deleted from disk. (Thats all files meeting the delete selection t*.dat)