From: William P. <wil...@ya...> - 2011-11-17 19:11:59
|
On Nov 17, 2011, at 12:25 PM, Mattison Ward wrote: > I will test this on treebasedev. Thanks. To test it you could do the following: http://purl.org/phylo/treebase/dev/phylows/study/TB2:S1925 http://purl.org/phylo/treebase/dev/phylows/study/TB2:S1925?format=html http://purl.org/phylo/treebase/dev/phylows/study/TB2:S1925?format=nexml http://purl.org/phylo/treebase/dev/phylows/study/TB2:S1925?format=nexus And in each case you should see a new record stored in cacheRoot, each in a different format. bp > On Thu, Nov 17, 2011 at 11:14 AM, William Piel <wil...@ya...> wrote: > > On Nov 17, 2011, at 10:02 AM, William Piel wrote: > > > Therefore, if you also know of an Apache plugin that will cache results for "/phylows/study/TB2:", that would greatly help. > > Looking at mod_cache, I wonder if this would work: > > cacheRoot c:/cacheroot > cacheEnable disk /treebase-web/phylows/study/TB2: > cacheDirLevels 1 > cacheDirLength 20 > cacheMinFileSize 1 > cacheMaxFileSize 50000000 > cacheIgnorecacheControl Off > cacheIgnoreNoLastMod On > cacheMaxExpire 2592000 > > ... resulting in a one-month cache on all TB2 objects. What's unclear to me is whether the cacheEnable string allows substrings or whether it needs to end in "/". If that's a limitation, are there third-party plugins that can cache using wildcards? > > bp > > > > > > > > -- > Mattison Ward > NESCent at Duke University > 2024 W. Main Street, Suite A200 > Durham, NC 27705-4667 > 919-668-4585 (desk) > 919-668-4551 (alternate) > 919-668-9198 (fax) > |