Hi, I'm trying to mobilise a hotels web booking site. I've
got everything working although i had to disable the mobile
ajax to do so.
I had to do this as our site keeps a session id within the
url bar and uses it every time you navigate to a new page
to retrieve relevant information, whether a member logged
in or just the current details.
However with this disabled the load time between pages is
about 20 seconds longer than if I wasn't using JQM at all.
From what I've read, with the ajax disabled, this means
every time i load a page its reloading all of the javascripts
each time, which takes up a fair amount of space.
I'm not very familiar with javascript but is there a good way
of cutting down the files or reducing the load time?
- <script src="Scripts/jquery-1.6.4.js"></script>
- <script src="Scripts/jquery-1.6.4.min.js"></script>
- <script type="text/javascript">
- $(document).bind("mobileinit", function () {
- $.mobile.ajaxEnabled = false;
- });
- </script>
- <script src="Scripts/jquery.mobile-1.3.0.min.js"></script>