Ethan I do not use a CMS, and I removed my own consent banner when I joined Ezoic more than a year ago.
It is indeed suspicious that the consent banner problem started after I had switched off caching, but it did not happen immediately, and the problem persisted after I had switched caching on again. I only encountered this problem a day later when I was testing an updated PHP script, but that update can be ruled out as the cause because the problem also occurs with pages that are generated by totally unrelated scripts.
As far as I can remember the only change on the dashboard that I made after uploading the script was that I specified an exception for showing ads within div elements, and around that time I noticed that the cookie consent banner kept reappearing, but when I temporarily removed the exception, the problem did not go away.
ADDENDUM: Forget about the caching problem. I just found out that the Microsoft API that I mentioned is in fact not quite dead and still returns data, though not reliably. That confused be because I could not reproduce the results and therefore I assumed that the data that I saw, came from the cache, but it didn't. My apologies for wasting your time on that.
But the problem with the cookie consent question, which is considerably more serious, must still be solved. I would not hang around on a site that asks me for cookie consent on every page, and I'm afraid that the visitors will not do that either.