I think I missed a part <body onload="alert('onload');" onunload="">

StackOverflow - This is because the browser assumes the page is uncacheable if it has a onunload handler (the page has already destroyed everything; why cache it?)