Options/Files
From XOWA: the free, open-source, offline wiki application
Contents
Files
Retrieval enabled: [1] |
Cache [2]
Minumum disk space used: [3] | |
Maxiumum disk space used: [4] | |
Reduce cache to min[5] | |
Clear cache[6] | |
Info: [7] |
System Applications
ImageMagick - Identify: |
|
ImageMagick - Convert: |
|
Inkscape |
|
Djvu converter |
|
Notes
-
^ Choose one of the following (default is
unchecked
)-
checked to automatically download images / retrieve images from database
- ImageMagick and Inkscape must be installed (See Dev/File/Setup)
- An internet connection must be available, or a local tarball must be set up. (See Archive/Usage/Offline_images)
- unchecked to leave images unprocessed
-
checked to automatically download images / retrieve images from database
-
^ Although files are saved in the bin.sqlite3 database, they are also cached locally at
C:\xowa\file
. This is done for the following reasons:- The HTML browser must display the image: The HTML browser cannot read directly from a sqlite database. The "src" attribute must point to a file resource. (It could take a base64 encoded string, but this has its own complications)
- Viewer apps must be able to access the image: Similar to the above, when a file is clicked in the commons wiki, XOWA sends it to an external viewer app. These viewer apps will not be able to access files from the sqlite database or from a base64 encoded string
- Performance: Images will load more quickly if they are already on the file system (as opposed to being continually extracted from the database)
-
The cache is stored in
C:\xowa\user\user-anonymous.xowa
- This value should not be set any lower than 5 MB (or else all images may not load on a page)
-
^ Enter a minimum size for the cache to use (in MB) (default is
75
) .
This is an advanced configuration tweak. When the cache reaches its maximum size, it will delete files to free space. It will continue deleting files until the minimum size is reached.
For example:- If the max is set to 100 MB
- ... and the current size of all files in the cache is 99.9 MB
- ... and a 200 KB file is added
- Then the cache size will be temporarily 100.1 MB
- ... triggering the delete mechanism
- ... which will reduce the current size of all files to 75 MB
-
^ Enter a maximum size for the cache to use (in MB) (default is
100
) .
- ^ Press to reduce the cache to the minimum now (typically 75 MB).
- ^ Press to clear the cache (reduces to 0 MB).
- ^ Miscellaneous information about the cache
- ^ Queries image for size (needed for online images; not needed for offline databases) . Recommended: ImageMagick
- ^ Resizes image (needed for online images; not needed for offline databases) . Recommended: ImageMagick
- ^ Converts svg to png (needed for online images; not needed for offline databases) . Recommended: Inkscape
- ^ Converts djvu to png (needed for online images; not needed for offline databases) . Recommended: MikTeX