fix crazy avatars calls!

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: fix crazy avatars calls!

Re: fix crazy avatars calls!

by axew3 » Sun Feb 26, 2017 8:07 pm

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!

Re: fix crazy avatars calls!

by elawrenc01 » Sun Feb 26, 2017 3:52 am

I downloaded the file from Wordpress...

Everything is loading much faster! Good job! :D :D

Re: fix crazy avatars calls!

by elawrenc01 » Sat Feb 25, 2017 11:55 pm

Where can we download the patch? Thanks for working on this!

fix crazy avatars calls!

by axew3 » Fri Feb 24, 2017 11:42 pm

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.

fix crazy avatars calls!

by axew3 » Fri Feb 24, 2017 8:44 pm

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.

Top