We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d06fd commit a785c7cCopy full SHA for a785c7c
doc/js-api/caching.rst
@@ -70,6 +70,18 @@ List of functions
70
71
remoteStorage.caching.set('/bookmarks/archive/', 'SEEN');
72
73
+.. autofunction:: Caching#checkPath(path)
74
+ :short-name:
75
+
76
+ Example:
77
78
+ .. code:: javascript
79
80
+ remoteStorage.caching.checkPath('documents/').then(strategy => {
81
+ console.log(`caching strategy for 'documents/': ${strategy}`));
82
+ // "caching strategy for 'documents/': SEEN"
83
+ });
84
85
.. autofunction:: Caching#reset
86
:short-name:
87
0 commit comments