Mercurial > hg > dml-home
comparison var/dml/config-enabled/cache.pl @ 33:f6dc7a0bb309
Changes to config.
author | samer |
---|---|
date | Sat, 21 Feb 2015 02:08:36 +0000 |
parents | b39b8b8f7e83 |
children |
comparison
equal
deleted
inserted
replaced
28:52a3e7d441c5 | 33:f6dc7a0bb309 |
---|---|
1 ../../../src/github/ClioPatria/config-available/cache.pl | 1 :- module(conf_cache, []). |
2 :- use_module(library(semweb/rdf_cache)). | |
3 | |
4 /** <module> Configure caching of RDF inputs | |
5 | |
6 Configure caching of RDF inputs. If enabled, RDF input graphs are stored | |
7 in fast-load format in the given cache directory. This provides a huge | |
8 speedup for loading RDF into the database. Note that if persistency is | |
9 enabled (default), RDF data is stored efficiently in the files that | |
10 realise the persistent RDF database and enabling caching only makes | |
11 sense if the persistent database is frequently wiped and re-filled with | |
12 (partially) the same data. | |
13 | |
14 Unloading this plugin does _not_ disable caching. Instead, change | |
15 *enabled* to =false=. | |
16 */ | |
17 | |
18 :- rdf_set_cache_options([ enabled(true), | |
19 global_directory('cache/rdf'), | |
20 create_global_directory(true) | |
21 ]). | |
22 |