[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
You backtracked too far and custom page caching
Hi all,
seems like we ran into some WOF 3.5 features while implementing our
caching mechanism. And I am not sure if the following is the only
side effect of our mechanism.
Since the page is quite complex and its generation takes a
reasonable amount of time we decided to simply cache the entire HTML
output and simply dump it on the next request unless the internal
data did change.
However...we are hearing about strange "you backtracked too far"
problems without the user ever clicking the back button.
The obvious reason seems to be that since we are presenting the same
HTML page we are basically reusing an old contextID which after
30-request will drop out of the page-backtracking-history-array.
I could not find any information about how this backtracking magic
is working...but I hope that someone at Apple who can read the
WOApplication code might be able to tell us how it works and if a
call to savePage: ,whenever we return that cached instance, will
boost that old contextID and prevent it from dropping out of the
backtracking list.
Aloha
Tomi