Comments 3Graeme started the conversationJuly 3, 2019 at 1:47pmHi,Currently had same issue on 2.4 but also on 2.6. When loading diary on desktop browser the animated circle will spin 6-7 times and load the diary.When on mobile it is spinning 25-30 times. Takes easily 30 seconds to load the diary agenda view on mobile.Please can you help and advise how to fix?Performance on laptop/desktop is ok, could be slightly faster. Time to load on mobile is far too slow. 894Zhivko repliedJuly 4, 2019 at 1:10pmAre you using any cache plugin? Stachethemes Developer 3Graeme repliedJuly 4, 2019 at 1:17pmon Wordpress? No. Not changed anything to my knowledge on WP. New version of WP and Jetpack etc. It used to be same performance on desktop and mobile few months ago but not recently. Do you want access to site? 894Zhivko repliedJuly 4, 2019 at 1:25pmYes, if it's possible. Stachethemes Developer Graeme replied privately 894Zhivko repliedJuly 10, 2019 at 8:45amHi,I've turned on cache and disabled the ajax query so the events are loaded during the page load.Do you see any difference in the loading times now? Stachethemes Developer 3Graeme repliedJuly 10, 2019 at 10:39amhi, the total elapsed time seems the same. Just don’t see the loading animation. Also default view is month and not agenda. 94Valentin repliedJuly 10, 2019 at 11:21amI'm really sorry but unfortunately we can not recreate the problem on our side. Please see attachments. Two videos from two different phones loading your page.Stachethemes Support My Time Zone is GMT+3 Envato Profile | Facebook | Twitter | Newsletter | Rate & Review 3Graeme repliedJuly 11, 2019 at 10:13pmthis is fairly typical time on my iPhone XS Max using my home fibre broadband. 40-46mbps network speedI haven’t ever seen it as fast as your videos 94Valentin repliedJuly 12, 2019 at 4:58amHave you tested on different phones or different provider? We can't really debug the problem when it's not happening on our endStachethemes Support My Time Zone is GMT+3 Envato Profile | Facebook | Twitter | Newsletter | Rate & Review 3Graeme repliedJuly 19, 2019 at 7:58amTested on different networks and still same they also get 20-30 secs response. 3Graeme repliedJuly 19, 2019 at 12:07pmnoticed today. On chrome my default browser is 20 seconds but 4 or 5 seconds on safari 894Zhivko repliedJuly 23, 2019 at 7:25amI've turned on the cache option. Could you check your loading speed again? Stachethemes Developer 3Graeme repliedJuly 23, 2019 at 8:55amhi,A million times better, it is now almost instantly loading. Can you set to agenda view not monthly please for mobile? 894Zhivko repliedJuly 25, 2019 at 7:09amAgenda is now default view for mobile devices. The code is in your theme functions.php file. add_action('wp_footer', function() { ?> <script type="text/javascript"> ; (function ($) { if (typeof $.stecExtend !== 'function') { return; } // config vars var mobileView = 'agenda'; var normalView = 'month'; $.stecExtend(function (master) { if (master.helper.isMobile()) { // Mobile device default view master.glob.options.view = mobileView; master.layout.set(); } else { // Normal master.glob.options.view = normalView; master.layout.set(); } }, 'onAddToEventsPool'); })(jQuery); </script> <?php}); Stachethemes Developer 3Graeme repliedJuly 25, 2019 at 8:42amYes that's what I have - although is still displaying month view for some reason.add_action('wp_footer', function() { ?> <script type="text/javascript"> ; (function ($) { if (typeof $.stecExtend !== 'function') { return; } // config vars var mobileView = 'agenda'; var normalView = 'month'; $.stecExtend(function (master) { if (master.helper.isMobile()) { // Mobile device default view master.glob.options.view = mobileView; master.layout.set(); } else { // Normal master.glob.options.view = normalView; master.layout.set(); } }, 'onAddToEventsPool'); })(jQuery); </script> <?php}); 894Zhivko repliedJuly 25, 2019 at 8:49amCheck for browser cache. Stachethemes Developer 3Graeme repliedJuly 25, 2019 at 8:58amThat's done it. LOL sorry as much as I always clear cache on desktops is something I rarely do on mobile.Fixed now thanks and sorry for being so dumb this morning ! :-) Sign in to reply ...
Hi,
Currently had same issue on 2.4 but also on 2.6. When loading diary on desktop browser the animated circle will spin 6-7 times and load the diary.
When on mobile it is spinning 25-30 times. Takes easily 30 seconds to load the diary agenda view on mobile.
Please can you help and advise how to fix?
Performance on laptop/desktop is ok, could be slightly faster. Time to load on mobile is far too slow.
Are you using any cache plugin?
Stachethemes Developer
on Wordpress? No. Not changed anything to my knowledge on WP. New version of WP and Jetpack etc.
It used to be same performance on desktop and mobile few months ago but not recently. Do you want access to site?
Yes, if it's possible.
Stachethemes Developer
Hi,
I've turned on cache and disabled the ajax query so the events are loaded during the page load.
Do you see any difference in the loading times now?
Stachethemes Developer
hi, the total elapsed time seems the same. Just don’t see the loading animation. Also default view is month and not agenda.
I'm really sorry but unfortunately we can not recreate the problem on our side. Please see attachments. Two videos from two different phones loading your page.
Stachethemes Support
My Time Zone is GMT+3
Envato Profile | Facebook | Twitter | Newsletter | Rate & Review
this is fairly typical time on my iPhone XS Max using my home fibre broadband. 40-46mbps network speed
I haven’t ever seen it as fast as your videos
Have you tested on different phones or different provider? We can't really debug the problem when it's not happening on our end
Stachethemes Support
My Time Zone is GMT+3
Envato Profile | Facebook | Twitter | Newsletter | Rate & Review
Tested on different networks and still same they also get 20-30 secs response.
noticed today. On chrome my default browser is 20 seconds but 4 or 5 seconds on safari
I've turned on the cache option. Could you check your loading speed again?
Stachethemes Developer
hi,
A million times better, it is now almost instantly loading. Can you set to agenda view not monthly please for mobile?
Agenda is now default view for mobile devices. The code is in your theme functions.php file.
Stachethemes Developer
Yes that's what I have - although is still displaying month view for some reason.
add_action('wp_footer', function() {
?>
<script type="text/javascript">
;
(function ($) {
if (typeof $.stecExtend !== 'function') {
return;
}
// config vars
var mobileView = 'agenda';
var normalView = 'month';
$.stecExtend(function (master) {
if (master.helper.isMobile()) {
// Mobile device default view
master.glob.options.view = mobileView;
master.layout.set();
} else {
// Normal
master.glob.options.view = normalView;
master.layout.set();
}
}, 'onAddToEventsPool');
})(jQuery);
</script>
<?php
});
Check for browser cache.
Stachethemes Developer
That's done it. LOL sorry as much as I always clear cache on desktops is something I rarely do on mobile.
Fixed now thanks and sorry for being so dumb this morning ! :-)