What you want to do is compute the ETag based on the underlying data resources that actually drive the page creation; the input to that process, not its output.