-
Notifications
You must be signed in to change notification settings - Fork 3
/
caches.conf.sample.php
46 lines (45 loc) · 1.16 KB
/
caches.conf.sample.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
SimpleCache::$cache_configs = array(
'default' => array(
'store_type' => 'SimpleFileBasedCacheStore',
'store_options' => array(
'silverstripe-cache/cache_store',
),
'cache_options' => array(
'expiry' => 3600
)
),
'PublisherCache' => array(
'store_type' => 'SimpleFileBasedCacheStore',
'store_options' => array(
'publisher_cache',
),
'cache_options' => array(
'expiry' => 8640000
)
),
'DynamicPublisherCache' => array(
'store_type' => 'SimpleFileBasedCacheStore',
'store_options' => array(
'silverstripe-cache/dynamic_publisher',
),
'cache_options' => array(
'expiry' => 3600
)
),
'FragmentCache' => array(
'store_type' => 'SimpleFileBasedCacheStore',
'store_options' => array(
'silverstripe-cache/fragment_cache',
),
'cache_options' => array(
'expiry' => 864000
)
),
);
$PROXY_CACHE_URLS = array(
'news/(\d+)/.*?$' => array(
'default' => 7200,
'tags' => array('news', 1),
)
);