feature: add clear cache method #373
Test case:
<sib-display
data-src="http://localhost:8000/projects/1/"
fields="name"
></sib-display>
<sib-form
data-src="http://localhost:8000/projects/1/"
fields="name"
partial
></sib-form>
- Edit the project name and save
- Empty the
sib-display
cache
await sibDisplay.component.resource.clearCache();
sibDisplay.dataset.src = sibDisplay.dataset.src;
- The name should have changed in the
sib-display