Jump to content

Improving speed

Featured Replies

Posted

Hi,

IPB is a great product, but I still see some problems. The one I am going to let you think about is the loading speed of the forum page.

It can be speeded up just by letting hooks and plugins be loaded after the main page is loaded.

Doing this, users can have the perception of a rapid loading of the page becouse the main content has just been loaded (forums, logo, descriptions). After the page has been displayed, hooks and plugins can query the SQL server to retrieve the information needed to display their "additional" things (like most viewed topics, forums, and so on)

What do you think?

Thanks

So you want to add additional overhead by using javascript to load the "additional" content into the page after it has already been delivered to the browser so hooks can load after what you deem important?

Why wouldn't you just turn the hooks OFF if they aren't important?

Personally, I use the hooks more than I use the Board Index...

  • Author

Hooks are lots, hooks means SQL query, SQL query means time to run the query and time to deliver the results to the client. If SQL server is not so fast, it will lead to some delay on loading the index page!

Actually I dont know how much overhead will be needed to run hooks using js. ;)

If you separate the requests, with just one user it may appear to load faster. However when you factor in many people hitting your site, you're taking one HTTP request/response that does all the execution and splitting it into multiple HTTP requests/responses that do the same work. You will be adding significant extra overhead to the page load, and when you start factoring in many users hitting the site, the aggregated extra overhead would likely lead to a big DECREASE in performance IMO.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.