Skip to content
Michael VERGOZ edited this page May 28, 2014 · 2 revisions
var serverConfig = function(bs) { return({
	pipeline: {
		pipetest: [
			['cache', { 
				exclusive: true,
				ignoreCache: false
			}],
			['proxyPass', { mode: 'host', timeout: 10 }]
		],
	}
})};

module.exports = serverConfig;

Opcode options

  • exclusive: set exclusive cache behavior (ok)
  • ignoreCache: ignore cache-control from server response. (ok)
  • stale: allow stale time for objects without cache age.
  • staleTime: set the default stale time
  • feeding: true or false, activate or not the caching feeding feature. Default true. (ok)
  • dirDiviser: number of division operate on the filename. Default 8. (ok)
Clone this wiki locally