Skip to content

feature: add clear cache method #373

Matthieu Fesselier requested to merge feature/373-clear-cache into dev

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>
  1. Edit the project name and save
  2. Empty the sib-display cache
await sibDisplay.component.resource.clearCache();
sibDisplay.dataset.src = sibDisplay.dataset.src;
  1. The name should have changed in the sib-display

Merge request reports