-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Not sure wether Phorum is still in development, over at reprap.org we use it very successfully. Here's a tidbit on how one of our geniuses raised snappiness noticeable. It should be a easy to change that for the distribution:
I've edited the forum file at /.../forums/htdocs/include/phorum_get_url.php to set it so the javascript.php requests don't have the forum id added.
before:
GET /javascript.php?225
after:
GET /javascript.phpThe javascript doesn't vary by forum, so having that forum-id on the request was causing the file to be re-requested when a user switched between forums, rather than just using the javascript file it'd already downloaded.
This should remove some unnecessary traffic, both on the server and for the user.
A spot-check of yesterdays access_log shows that it transfered 3121 megs of javascript.php, but it'd be 1387 megs if there were no duplicate javascript.php traffic.
I'll look into doing the same for css.php, too.
If you think it's worthwhile, I'll happily make a diff.