So when ever I try to reach my forum within wordpress, it takes for ever for it to load.
And after using the network tool in chrome dev options.
It looks like it's when it has to "download" the content of the iframe, this makes it super slow.
Is there anyway to fix this? else I might have to look into another option of running the forum :/.
WP forum iframe loads really slow
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: WP forum iframe loads really slow
effectively in iframe mode, there are two cms that are going to load when you open the WP iframed page:
after, when the phpBB is loaded, and you navigate it inside the iframe we can expect it fast like the phpBB is, even if (it is scheduled within 1.9 version) all iframe js code will be also improved as soon.
The fact that an iframe need to load his content, and this is another cms, maybe is an overload for the server, but here it may depend on how much the server is capable and fast.
The solution to this could be a spinner, a simple preloader that let see to the user that the page is loading.
So it will be added before 1.9.0 possibly on 1.8.9.
The best way to integrate? To me is of course the wordpress and phpBB themes developed to be exactly the same.
In effect could be a good goal for some smart and skilled web designer, to propose a template not for only a CMS but two.
I think it can be a good "marketing" idea.
The iframe mode will be "dramatically" improved as soon!
after, when the phpBB is loaded, and you navigate it inside the iframe we can expect it fast like the phpBB is, even if (it is scheduled within 1.9 version) all iframe js code will be also improved as soon.
The fact that an iframe need to load his content, and this is another cms, maybe is an overload for the server, but here it may depend on how much the server is capable and fast.
The solution to this could be a spinner, a simple preloader that let see to the user that the page is loading.
So it will be added before 1.9.0 possibly on 1.8.9.
The best way to integrate? To me is of course the wordpress and phpBB themes developed to be exactly the same.
In effect could be a good goal for some smart and skilled web designer, to propose a template not for only a CMS but two.
I think it can be a good "marketing" idea.
The iframe mode will be "dramatically" improved as soon!
-
- User ww
- Posts: 42
- Joined: Fri Jan 20, 2017 5:23 pm
Re: WP forum iframe loads really slow
Like, the server the site is running on is pretty potato, so that might also be some of the reason.
But even after the iframed page is loaded, everything inside still loads pretty slow.
But even after the iframed page is loaded, everything inside still loads pretty slow.
-
- User ww
- Posts: 42
- Joined: Fri Jan 20, 2017 5:23 pm
Re: WP forum iframe loads really slow
I do also have a preloader shown on my wordpress site, and it works when I click into the forum.
Do you know if it's possible to make is also show up when I click something within the iframed phpbb?
Do you know if it's possible to make is also show up when I click something within the iframed phpbb?
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: WP forum iframe loads really slow
so you mean a preloader for phpBB that will display in phpBB once the iframe loaded in this case, the preloader need to work in phpBB code because once the iframe loaded, phpBB it is the responsible of what display in when clicks are on links within it.
But there is also another aspect: the iframe resizer, that communicate via javascript with the main page (the wordpress page that contain the iframe), which contain the code that receive at each click the rezize dimension to apply from phpBB.
And this is a point i will go to check. When i've add the js code on which i do not take a look from long time now, about PM messages for examples, i've use a different "js call" (sorry my Eng, here i'm not precise with correct terms i hope you'll understand by the way) to communicate with Wordpress, instead to use an unique, maybe inside the resizer code, that already send data to wordpress.
This aspect and some fixes more need to be adjusted, and maybe also it is time to update files to latest resizer version if there is one new, re-looking into all his methods and see if there is a better way to get the joke.
Ok, the code we go to add into phpBB overall_footer.html
and related js code into page-forum.php need a "serious re-look".
But there is also another aspect: the iframe resizer, that communicate via javascript with the main page (the wordpress page that contain the iframe), which contain the code that receive at each click the rezize dimension to apply from phpBB.
And this is a point i will go to check. When i've add the js code on which i do not take a look from long time now, about PM messages for examples, i've use a different "js call" (sorry my Eng, here i'm not precise with correct terms i hope you'll understand by the way) to communicate with Wordpress, instead to use an unique, maybe inside the resizer code, that already send data to wordpress.
This aspect and some fixes more need to be adjusted, and maybe also it is time to update files to latest resizer version if there is one new, re-looking into all his methods and see if there is a better way to get the joke.
Ok, the code we go to add into phpBB overall_footer.html
and related js code into page-forum.php need a "serious re-look".
-
- User ww
- Posts: 42
- Joined: Fri Jan 20, 2017 5:23 pm
Re: WP forum iframe loads really slow
I did find a preloader for phpbb, and it shows up fine.
The problem is, the position of it is static in the iframe but it's not on the main forum page.
For an example you can take a look here
http://rng.clanroyal.dk/forum/
Try clicking a forum, a preloader will show up, but it will not follow when you scroll, and if you click an item far down, you pretty much wont see the preloader at all.
http://rng.clanroyal.dk/forums/
If you click on a forum here, the preloader will show up in the middle of the forum, and follow as you scroll.
The problem is, the position of it is static in the iframe but it's not on the main forum page.
For an example you can take a look here
http://rng.clanroyal.dk/forum/
Try clicking a forum, a preloader will show up, but it will not follow when you scroll, and if you click an item far down, you pretty much wont see the preloader at all.
http://rng.clanroyal.dk/forums/
If you click on a forum here, the preloader will show up in the middle of the forum, and follow as you scroll.