Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Clean up default.ini/config.ini.dist, disable caches per default
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed May 13, 2016
1 parent 3824486 commit 0558949
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
9 changes: 6 additions & 3 deletions application/config/default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ title.prefix = "OntoWiki"
;;
title.separator = ""

;; Option for specifying the RSS/Atom feed loaded in the OntoWiki index actions "News" module
;; set to "false" to completely disable the feed
news.feedUrl = "http://blog.aksw.org/feed/?cat=5&client={{version.label}}&version={{version.number}}&suffix={{version.suffix}}"

;;
; Title Helper Configuration
Expand Down Expand Up @@ -265,19 +268,19 @@ log.path = "logs"
versioning = true

;; Erfurt Query Cache
cache.query.enable = true
cache.query.enable = false
;; logging is not recommended (performance)
;cache.query.logging = 0
;; only database caching at the moment
cache.query.type = database

;; Erfurt Object Cache
cache.enable = true ; clear the cache if you switch from 0 to 1!
cache.enable = false ; clear the cache if you switch from 0 to 1!
cache.type = database ; database, sqllite


;; Options for cache frontend
cache.frontend.enable = true
cache.frontend.enable = false
cache.frontend.lifetime = 0
;cache.frontend.logging = false
;cache.frontend.write_control = true
Expand Down
28 changes: 14 additions & 14 deletions config.ini.dist
Original file line number Diff line number Diff line change
Expand Up @@ -103,35 +103,35 @@ mail.localname.recovery = "ontowiki-account-recovery"
;vhosts[] = "http://graph2.ontowiki.de"

;;;;
;; Uncomment this line to turn off the query and object cache (NOT recommended)
;; Uncomment this line to turn on the query and object cache (experimental)
;;
;cache.enable = false
;cache.query.enable = false
;cache.enable = true
;cache.query.enable = true


;; Options for cache frontend
cache.frontend.enable = false
cache.frontend.lifetime = 0
;; Options for cache frontend (experimental)
;cache.frontend.enable = true
;cache.frontend.lifetime = 0
;cache.frontend.logging = false
;cache.frontend.write_control = true
;cache.frontend.automatic_cleaning_factor = 10
;cache.frontend.ignore_user_abort = false
cache.frontend.cache_id_prefix = 'OW_'
;cache.frontend.cache_id_prefix = 'OW_'

;; Cache backend options
;; Available: file | memcached | database | sqlite | apc
;; Recommended: memcached | file
cache.backend.type = "file"
;cache.backend.type = "file"

;; Options for file cache backend
cache.backend.file.cache_dir = "./cache/"
cache.backend.file.file_locking = NULL
;cache.backend.file.cache_dir = "./cache/"
;cache.backend.file.file_locking = NULL

;; Options for memcached cache backend
;cache.backend.memcached.compression = false
;cache.backend.memcached.compatibility = false
;; You can define several servers: copy block, below and increase number and configure properly
cache.backend.memcached.servers.0.host = "localhost"
;cache.backend.memcached.servers.0.host = "localhost"
;cache.backend.memcached.servers.0.port = 11211
;cache.backend.memcached.servers.0.persistent = true
;cache.backend.memcached.servers.0.weight = 1
Expand All @@ -144,12 +144,12 @@ cache.backend.sqlite.cache_db_complete_path = "/tmp/ow_cache.sqlite"
;cache.backend.sqlite.automatic_vacuum_factor = 10


;; Options for Gearman/worker
worker.enable = false
;; Options for Gearman/worker (experimental)
;worker.enable = true

;; Option for specifying the RSS/Atom feed loaded in the OntoWiki index actions "News" module
;; set to "false" to completely disable the feed
news.feedUrl = "http://blog.aksw.org/feed/?cat=5&client={{version.label}}&version={{version.number}}&suffix={{version.suffix}}"
;news.feedUrl = "http://blog.aksw.org/feed/?cat=5&client={{version.label}}&version={{version.number}}&suffix={{version.suffix}}"

;;;;
;; uncomment this line if you need more information
Expand Down

0 comments on commit 0558949

Please sign in to comment.