thoughtco / statamic-cache-tracker

12 stars 2 forks source link

Reset store then invalidate urls #9

Closed ryanmitchell closed 4 months ago

ryanmitchell commented 4 months ago

This PR fixes a bug where (when not using queues) the tracker store would be reset after the URL was invalidated and potentially called, therefore the tracker store would never update.

To resolve this we reset the tracker store before invalidating the URLs.