I'm trying to trigger code that takes a snapshot of a page every time it gets published, I'm noticing that at the time the signal is triggered, the changes to the page are not yet reflected on the published version, is that the expected behavior? My expectation is that the changes are public when the signal is triggered.
You can test this by adding a breakpoint
here, right after the signal is called and then opening the test page in incognito mode or a different browser.