I try to improve performance on mobile and try to figure how to proceed.
I made a test with darebust.com report
The first thing I see it is loading images in the sidebar, but the sidebar is hidden with the code
How can I avoid that it is still loading these resources?
Then I see a lot more items in the report and I’m wondering, how relevant they are.
For example, the duplicate menu items, is this because I created a backup of the menus or is it another problem?
I see some items which probably will need coding. Then it complains, that instead of the wpfastest cache file I shall group some scripts in one or more distinct files. This is quite confusing for me.
It would be very helpful if you could give me some suggestions how to proceed.
tricky one with the sidebar, you can try this PHP snippet that uses the wp_is_mobile() function to detect the site is being viewed on a mobile device and removes the sidebar
add_filter( 'generate_sidebar_layout','db_remove_mobile_sidebar' );
function db_remove_mobile_sidebar( $layout )
// If we are viewing on mobile device remove sidebar
if ( wp_is_mobile() )
// Or else, set the regular layout
Duplicate menus are not something you can avoid when using the mobile header or slideout panels.