Determines whether the application should use a memory history or a browser history based on the current environment.
Determines whether the application should use a memory history or a browser history based on the current environment.