Mercurial > hg > dml-home
diff var/dml/config-enabled/cache.pl @ 36:99afd4e6cba9
Merge
author | samer |
---|---|
date | Sat, 21 Feb 2015 02:11:03 +0000 |
parents | f6dc7a0bb309 |
children |
line wrap: on
line diff
--- a/var/dml/config-enabled/cache.pl Sat Feb 21 02:07:16 2015 +0000 +++ b/var/dml/config-enabled/cache.pl Sat Feb 21 02:11:03 2015 +0000 @@ -1,1 +1,22 @@ -../../../src/github/ClioPatria/config-available/cache.pl \ No newline at end of file +:- module(conf_cache, []). +:- use_module(library(semweb/rdf_cache)). + +/** <module> Configure caching of RDF inputs + +Configure caching of RDF inputs. If enabled, RDF input graphs are stored +in fast-load format in the given cache directory. This provides a huge +speedup for loading RDF into the database. Note that if persistency is +enabled (default), RDF data is stored efficiently in the files that +realise the persistent RDF database and enabling caching only makes +sense if the persistent database is frequently wiped and re-filled with +(partially) the same data. + +Unloading this plugin does _not_ disable caching. Instead, change +*enabled* to =false=. +*/ + +:- rdf_set_cache_options([ enabled(true), + global_directory('cache/rdf'), + create_global_directory(true) + ]). +