two more issues:
first, when im using chrome, the iframe page seems to have lag when scrolling, it's slow. i tested in firefox and the page does not have that lag.
secondly, i'm asking myself how the plugin affects to the speed and performance of the page (in the future). i don't know how registered or connected users at the same time can slow the site, and whether people logged in the forum (subdomain page) are eating double resources because they are logged in two sites (phpbb and wordpress) host in the same hosting plan. can this affect significantly to the performance in any point? i don't know exactly how to ask this question, but i hope you understand what i mean
regards!
lag & more
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: lag & more
yes of course, it can be resumed in this +-, but i will be more precise on 1.9.3 (not 1.9.2, that will be released today if possible, due to some important fixes). On 1.9.3 i will aim to rebuild and fix all things about iframe and giving a deep look on fixing all queries and execution flows.
By the way,
if not iframe, the plugin required resources are
2 single queries calls to phpBB database by default
1 single query more, once you add last topics widgets
1 single query more if you activate avatars
1 single query more if you activate "mark read unread last topics"
1 query more if you choose to exclude forums on last topics or retrieve last topics based on user permissions.
1 query more if buddypress features activated
a list +- precise is the above.
a query more executed when there are profile fields to be updated or when user login or update profile in wordpress.
there are shortcodes that requires one query for each instance, like the last one about "display attached post images", but others about last topics, are working with the same widget last topics instance query call, so these not affect nothing more.
On iframe, each time you call the forum page, of course, the entire wordpress is loaded and phpBB is loaded inside the iframe: but after you've load the iframed WP forum page one time (i promised a preloader about this ... i will do on fly as i can), and then you click to navigate the forum, calls are done directly inside the iframe, so only in the phpBB page.
The code you add into overall_footer.html of phpBB, contain javascript that behind the scene communicate with the wp forum page, that do not cause any problem, but i will improve it as said presumably on 1.9.3.
All this should not overload your server, even with high traffic, despite the fact that the code can be improved, the plugin run fast and will not overload your server.
By the way,
if not iframe, the plugin required resources are
2 single queries calls to phpBB database by default
1 single query more, once you add last topics widgets
1 single query more if you activate avatars
1 single query more if you activate "mark read unread last topics"
1 query more if you choose to exclude forums on last topics or retrieve last topics based on user permissions.
1 query more if buddypress features activated
a list +- precise is the above.
a query more executed when there are profile fields to be updated or when user login or update profile in wordpress.
there are shortcodes that requires one query for each instance, like the last one about "display attached post images", but others about last topics, are working with the same widget last topics instance query call, so these not affect nothing more.
On iframe, each time you call the forum page, of course, the entire wordpress is loaded and phpBB is loaded inside the iframe: but after you've load the iframed WP forum page one time (i promised a preloader about this ... i will do on fly as i can), and then you click to navigate the forum, calls are done directly inside the iframe, so only in the phpBB page.
The code you add into overall_footer.html of phpBB, contain javascript that behind the scene communicate with the wp forum page, that do not cause any problem, but i will improve it as said presumably on 1.9.3.
All this should not overload your server, even with high traffic, despite the fact that the code can be improved, the plugin run fast and will not overload your server.
-
- User ww
- Posts: 33
- Joined: Wed Jul 25, 2018 6:44 pm
Re: lag & more
nice, thanks for the information i asked because registration in wordpress is not essential in my page, but i want it to be a better integration and i've read that loading speed is important for SEO. but for now it's good and with my wp cache plugin is better. if i see problems in the future i'll tell you
about the chrome lag, the problem was that i had disabled the gpu aceleration in chrome, i enabled it and the lag fixed. but i don't know if this is a problem only with the plugin or a general problem with gpu aceleration and iframe pages. what do you think? it can be annoying for visitors who have the option disabled
about the chrome lag, the problem was that i had disabled the gpu aceleration in chrome, i enabled it and the lag fixed. but i don't know if this is a problem only with the plugin or a general problem with gpu aceleration and iframe pages. what do you think? it can be annoying for visitors who have the option disabled
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: lag & more
i will take a look into the code of overall_footer.html
where we go to add
iframe resizer
library and the other js code that communicate with the parent WP iframed page.
i see that the library has been updated 4 months ago to a more recent version by the one actually used into wp_w3all
/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer
(with related file after copied/pasted into phpBB root)
i'll take a look and i'll follow here
where we go to add
iframe resizer
library and the other js code that communicate with the parent WP iframed page.
i see that the library has been updated 4 months ago to a more recent version by the one actually used into wp_w3all
/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer
(with related file after copied/pasted into phpBB root)
i'll take a look and i'll follow here
-
- User ww
- Posts: 33
- Joined: Wed Jul 25, 2018 6:44 pm
Re: lag & more
cool. for now, I think is more annoying and important the auto-scroll problem i told you a month ago. i finished designing my wordpress page and i'm going back to the forum design. when clicking links and buttons, the page still automatically scrolls up to the top page in the iframe page.
it's something i want to solve before adding the iframe page to the wordpress menu.
it's something i want to solve before adding the iframe page to the wordpress menu.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: lag & more
hi, can you point me (remember) to the problem
Sorry that i'm jumping from something to something else and i do not exactly remember right nowauto-scroll problem i told you a month ago