As reported by elawrenc01
the last topics widget with avatars, cause a crazy multiple queries calls, one for each post on last topics, which get avatar is called to get the image avatar.
Like for other fix about config, it will be resolved on next (very soon) coming 1.6.4.
1.6.4 will increase also some other aspect about queries to definitively reduce to the minimum any data request to the phpBB database.
It was also a request about how could be possible to have phpBB notification links, to point to the iframe, and not to the real phpBB url.
A simple, very short, easy to maintain, tutorial about will be produced soon. The procedure require to add 1 line of code into phpBB .htaccess and a little snippet to be added on specific file of phpBB. Easy, that will work fine, and that let many opportunities about customization.
And that do not interfere with SEO/BOTS.
fix crazy avatars calls!
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
fix crazy avatars calls!
in the while, class.wp.w3all-phpbb.php of WP_w3all 1.6.3 has just been patched about this on repository.
WP_w3all file class.wp.w3all-phpbb.php has just been updated to resolve multiple calls on last topics, if avatars option active.
The query is one single now, independently on how many widgets or topics are displayed on page.
Just download the single file or the plugin zip and replace with the new one patched.
WP_w3all file class.wp.w3all-phpbb.php has just been updated to resolve multiple calls on last topics, if avatars option active.
The query is one single now, independently on how many widgets or topics are displayed on page.
Just download the single file or the plugin zip and replace with the new one patched.
-
- User ww
- Posts: 43
- Joined: Thu Feb 16, 2017 11:59 am
Re: fix crazy avatars calls!
Where can we download the patch? Thanks for working on this!
-
- User ww
- Posts: 43
- Joined: Thu Feb 16, 2017 11:59 am
Re: fix crazy avatars calls!
I downloaded the file from Wordpress...
Everything is loading much faster! Good job!
Everything is loading much faster! Good job!
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: fix crazy avatars calls!
There is still something else to adjust and will be done while next two releases.
There are still 3 calls to last topic. It need to be 1. And some little more, but secondary, as the others are queries aren't called each time a page load.
While these about last topics and avatars yes, if are active as options.
Thank to your report we've speed up what was need to be done time ago!
There are still 3 calls to last topic. It need to be 1. And some little more, but secondary, as the others are queries aren't called each time a page load.
While these about last topics and avatars yes, if are active as options.
Thank to your report we've speed up what was need to be done time ago!