Well, that was completely my fault, and kind of a stupid one.
I just haven't noticed a <wicket:extend>
tag in the edited HTML, so my updates ended up ignored.
HTML refresh does actually work, everything runs smoothly even without clearing markup cache (thanks to a Wicket plug-in).