|
Rank: Member Groups: Member
Joined: 9/1/2015 Posts: 23
|
I'm getting a LoadFailed event fired with error code -400 when a user clicks a button on my site that runs javascript:history.back(); I can't find -400 in the error code enumeration. What is this error and why would it fire?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
400 is CACHE_MISS. You can probably force a refresh in that case.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 9/1/2015 Posts: 23
|
Does that mean my app is not caching the pages? The same javascript function works fine under the .NET WebBrowser control
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
It depends. The browser engine can decide to throw older page out of the cache. The page may also have a cache policy that prevent it from being cached. Different browser may also have different default policies. CACHE_MISS is the same as the common "this page is outdated, please refresh" message you see with regular browsers.
Thanks!
|
|