File tree Expand file tree Collapse file tree 3 files changed +23
-7
lines changed Expand file tree Collapse file tree 3 files changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,18 @@ This package implements the following commands:
13
13
14
14
### wp cache
15
15
16
- Manage the object cache .
16
+ Manipulate the WP Object Cache object .
17
17
18
18
~~~
19
19
wp cache
20
20
~~~
21
21
22
- Use a persistent object cache drop-in to persist cache values between requests.
22
+ By default, the WP Object Cache exists in PHP memory for the length of the
23
+ request (and is emptied at the end). Use a persistent object cache drop-in
24
+ to persist the object cache between requests.
25
+
26
+ [ Read the codex article] ( https://codex.wordpress.org/Class_Reference/WP_Object_Cache )
27
+ for more detail.
23
28
24
29
** EXAMPLES**
25
30
@@ -35,12 +40,16 @@ Use a persistent object cache drop-in to persist cache values between requests.
35
40
36
41
### wp transient
37
42
38
- Manage transients .
43
+ Manipulate the WordPress Transient Cache .
39
44
40
45
~~~
41
46
wp transient
42
47
~~~
43
48
49
+ By default, the transient cache uses the WordPress database to persist values
50
+ between requests. When a persistent object cache drop-in is installed, the
51
+ transient cache also uses the WordPress Object Cache.
52
+
44
53
** EXAMPLES**
45
54
46
55
# Set transient.
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * Manipulates the WP Object Cache.
4
+ * Manipulate the WP Object Cache object .
5
5
*
6
+ * By default, the WP Object Cache exists in PHP memory for the length of the
7
+ * request (and is emptied at the end). Use a persistent object cache drop-in
8
+ * to persist the object cache between requests.
6
9
*
7
- * Use a persistent object cache drop-in to persist cache values between requests.
8
- * [WP Object Cache](https://codex.wordpress.org/Class_Reference/WP_Object_Cache)
10
+ * [Read the codex article](https://codex.wordpress.org/Class_Reference/WP_Object_Cache)
11
+ * for more detail.
9
12
*
10
13
* ## EXAMPLES
11
14
*
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/**
4
- * Manage WordPress transient and standardized way of storing cached data in the database temporarily base.
4
+ * Manipulate the WordPress Transient Cache.
5
+ *
6
+ * By default, the transient cache uses the WordPress database to persist values
7
+ * between requests. When a persistent object cache drop-in is installed, the
8
+ * transient cache also uses the WordPress Object Cache.
5
9
*
6
10
* ## EXAMPLES
7
11
*
You can’t perform that action at this time.
0 commit comments