I access SCN from work as well as home. Slower home internet connection made me think about faster way of reloading forum content.
In short, Web Browser buttons Back and Forward work much faster than Refresh button.
There are a number of ways to refresh/reload forum content.
Every web browser reloads the page when F5 key is pressed.
Some web apps are smart enough to catch this user event, reuse most of the page elements and refresh only the data being displayed.
I used Firefox web console to see what happens when SCN forum page is refreshed, and found that as many as 64 web elements were being fetched from server.
Here is a snapshot of web console showing first 8 GET requests.
As a result, these 64 GET requests were completed in 13 seconds.
This method is definitely the slowest.
When an SCN space like ABAP Development is opened, Overview tab is shown.
From Overview, we can go to Discussions (Forum), which shows "All discussions" by default.
If we choose "Open Questions" from drop-down menu, list of Open Questions is shown, but this time entire page was not reloaded.
Instead of web page going blank and loading from scratch, we just see a "Loading..." animation, and then new content appears dynamically.
Firefox web console confirms that only 1 GET request was sent when an option is toggled.
Options that can be exercised this way are:
This method is very fast (1 GET request against 64 GET requests).
I prefer keyboard shortcuts over mouse clicks. This is why moving mouse cursor and clicking once or twice to reload content does not seem better than just pressing F5 key.
This method is fastest from server's point of view, and also for a person who prefers using Mouse over Keyboard.
This method is same as Method 2, only difference being use of keyboard shortcuts.
When an option is toggled, URL shown in browser address bar changes accordingly.
From browser point of view, a new page is opened.
As a result, Back and Forward browser buttons can be used. Buttons shown below are Firefox 21. Similar buttons are available in other browsers.
Keyboard shortcut for Browser Back action is ALT+LeftArrow OR BackSpace.
Keyboard shortcut for Browser Forward action is ALT+RightArrow.
Some computers have dedicated keys for Back and Forward actions.
This method is fastest from server's point of view, and for a person who prefers using Keyboard over Mouse.
I prefer tracking "All discussions" by toggling between "Sort by latest activity (descending)" and "Sort by date created (descending)".
On every such toggle, approximately 63 HTTP GET requests are saved if method 2 or method 3 is used.
It would be nice if people adding features to SCN create a "reload" button.
Even better would be to capture F5 key action and serve only latest content (keeping every other page element cached on client-side).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.