Mercurial > hg > dml-home
annotate var/dml/config-enabled/cache.pl @ 100:a4cd935561d4 dml-dockerised tip
small updates and version pin for cliopatria
author | wolffd <wolffd.mail@googlemail.com> |
---|---|
date | Fri, 29 Jun 2018 17:48:41 +0100 |
parents | f6dc7a0bb309 |
children |
rev | line source |
---|---|
samer@33 | 1 :- module(conf_cache, []). |
samer@33 | 2 :- use_module(library(semweb/rdf_cache)). |
samer@33 | 3 |
samer@33 | 4 /** <module> Configure caching of RDF inputs |
samer@33 | 5 |
samer@33 | 6 Configure caching of RDF inputs. If enabled, RDF input graphs are stored |
samer@33 | 7 in fast-load format in the given cache directory. This provides a huge |
samer@33 | 8 speedup for loading RDF into the database. Note that if persistency is |
samer@33 | 9 enabled (default), RDF data is stored efficiently in the files that |
samer@33 | 10 realise the persistent RDF database and enabling caching only makes |
samer@33 | 11 sense if the persistent database is frequently wiped and re-filled with |
samer@33 | 12 (partially) the same data. |
samer@33 | 13 |
samer@33 | 14 Unloading this plugin does _not_ disable caching. Instead, change |
samer@33 | 15 *enabled* to =false=. |
samer@33 | 16 */ |
samer@33 | 17 |
samer@33 | 18 :- rdf_set_cache_options([ enabled(true), |
samer@33 | 19 global_directory('cache/rdf'), |
samer@33 | 20 create_global_directory(true) |
samer@33 | 21 ]). |
samer@33 | 22 |