Hi,

we have a serious problem with ajax and back button. To see it in action, go to the tree example, expand a tree node, go to a different page, press back button and you'll see the node collapsed. However trying to expand it, you'll see bunch of errors.

Why?

The problem is that cached page reflects the page when it was first time retrieved from the server. However, doing Ajax updates, the page could have been significantly changed. So if you go using back button to go to page with ajax components, there's a big chance that it's out of sync with server.

Currently I can't think of any way around this, except to force reload the page on back button, using Cache-Control: no-store.

I know many of you are probably against reloading page on back button, but what else can we do?

-Matej

Reply via email to