Changes for page #[RPC\Cache]

Last modified by Ashterix on 2024/05/19 21:20

From version 4.1
edited by Ashterix
on 2024/05/19 21:20
Change comment: There is no comment for this version
To version 1.1
edited by Ashterix
on 2024/05/10 12:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,17 +1,25 @@
1 -{{box cssClass="floatinginfobox"}}
1 +{{box cssClass="floatinginfobox" width="400px"}}
2 2  == (% style="display:block; margin-top:-30px; text-align:center" %)Summary(%%) ==
3 3  
4 4  (% style="margin-right:auto" %)
5 -|**Classname**|(% colspan="2" rowspan="1" %)Cache
6 -|**Namespace**|(% colspan="2" %)Ufo\RpcObject\RPC
7 -|**Target**|(% colspan="2" rowspan="1" %)method
8 -|(% colspan="3" %)**Arguments:**
9 -|(% colspan="1" rowspan="3" %)**$lifetimeSecond**|**type**|int
10 -|**optional**|true
11 -|**default**|60
12 -|(% colspan="1" rowspan="3" %)**$environments**|**type**|array
13 -|**optional**|true
14 -|**default**|['prod']
5 +|(% style="width:141px" %)**Classname**|(% colspan="2" rowspan="1" style="width:79px" %)Cache
6 +|(% style="width:141px" %)**Namespace**|(% colspan="2" style="width:79px" %)(((
7 +Ufo\RpcObject\RPC
8 +)))
9 +|(% style="width:141px" %)(((
10 +**Target**
11 +)))|(% colspan="2" rowspan="1" style="width:79px" %)method
12 +|(% colspan="3" style="width:141px" %)**Arguments:**
13 +|(% colspan="1" rowspan="3" style="width:141px" %)(((
14 +**$lifetimeSecond**
15 +)))|(% style="width:79px" %)**type**|(% style="width:153px" %)int
16 +|(% style="width:79px" %)**optional**|(% style="width:153px" %)true
17 +|(% style="width:79px" %)**default**|(% style="width:153px" %)60
18 +|(% colspan="1" rowspan="3" style="width:141px" %)(((
19 +**$environments**
20 +)))|(% style="width:79px" %)**type**|(% style="width:153px" %)array
21 +|(% style="width:79px" %)**optional**|(% style="width:153px" %)true
22 +|(% style="width:79px" %)**default**|(% style="width:153px" %)['prod']
15 15  {{/box}}
16 16  
17 17  = Method Response Caching =
... ... @@ -49,8 +49,6 @@
49 49  
50 50  {{code language="php"}}
51 51  <?php
52 -use Ufo\RpcObject\RPC\Cache;
53 -
54 54  Cache::T_MINUTE; // 60
55 55  Cache::T_5_MINUTES; // 300
56 56  Cache::T_10_MINUTES; // 600