Closed SteJW closed 3 months ago
As you said as the middleware still runs on subsequent page loads it’s overwriting the manifest for that page. You could maybe look to merge the manifests on page load or not run it if the manifest for that url exists.
It’s not something I will look into as we don’t ever have a use for half cache but I’ll happily review a PR that supports it if you want to work on it.
Hi, Thanks for this addon! It's working great, but only for the first page load!
I have cache half enabled and when I run a page once, I save an used entry from that page, and I refresh the page. That works great and as expected. When I reload the page a couple of times and I save an used entry on that page, it doesn't invalidate the page. It looks like the cache is being reloaded with a lesser list of connected entries.
I did a var_dump of the content that's being saved in the CacheTracker.php on line 57.
It lists this, and more:
When I reload I get this: