riasvdv / statamic-redirect

Redirect allows you to redirect legacy URLs, so that you don't lose SEO value when rebuilding & restructuring a website.
https://statamic.com/addons/rias/redirect
19 stars 21 forks source link

Clear eloquent blink cache in cache old uri listener #149

Closed ryanmitchell closed 7 months ago

ryanmitchell commented 7 months ago

As reported over here there's an issue with eloquent redirects in that we do some aggressive caching which is tripping things up. The issue details the problem.

As a temporary measure until something better lands in core, this PR just clears the blink cache, which solves it.

riasvdv commented 7 months ago

Looks good!