samer@33: :- module(conf_cache, []). samer@33: :- use_module(library(semweb/rdf_cache)). samer@33: samer@33: /** Configure caching of RDF inputs samer@33: samer@33: Configure caching of RDF inputs. If enabled, RDF input graphs are stored samer@33: in fast-load format in the given cache directory. This provides a huge samer@33: speedup for loading RDF into the database. Note that if persistency is samer@33: enabled (default), RDF data is stored efficiently in the files that samer@33: realise the persistent RDF database and enabling caching only makes samer@33: sense if the persistent database is frequently wiped and re-filled with samer@33: (partially) the same data. samer@33: samer@33: Unloading this plugin does _not_ disable caching. Instead, change samer@33: *enabled* to =false=. samer@33: */ samer@33: samer@33: :- rdf_set_cache_options([ enabled(true), samer@33: global_directory('cache/rdf'), samer@33: create_global_directory(true) samer@33: ]). samer@33: