Closed Captainkirkdawson closed 7 years ago
Not so keen on that. The stats show that things are moving and motivate researchers to look again.
As they are on Transcriptions, why can't this information be held as a constant which is just inserted in the footer?
E
On 17/02/2017 17:26, Kirk Dawson wrote:
Currently we display the stats for yesterday in the footer. This requires a lookup of the information every time a page is displayed. We have tried loading the information into the session cookie but that has to be checked and reloaded if absent. The statistics for yesterday are already displayed in the Transcriptions page. It is proposed that we eliminate the stats in the footer. We could add a statement that the stats are available in the Transcriptions page
See also #1004 which proposes a cut-down version of the stats, together with a link to the Transcriptions page.
I am content for you to remove completely if it saves loading time
EricD Several issues with your suggestion.
Firstly they are not constants they vary from day to day.
Webpages are stateless and regenerated each time they are displayed. Variable information on a page can exist in only 2 places. In a database or in a session cookie. If it is not in the session cookie then it has to be retrieved from the database. Every new session require us to add the information to the session cookie.
Personally it is a waste of resources for limited value. The stats are the only variable in our application display and are required for every page we load.
Alison. The cut down version saves nothing in terms of time. It matters little how much we read. It is the act of having to do a read at all that times the time
Not really that important. It is my 1962 programming technique! E
On 17/02/2017 20:22, Kirk Dawson wrote:
EricD Several issues with your suggestion.
Firstly they are not constants they vary from day to day.
Webpages are stateless and regenerated each time they are displayed. Variable information on a page can exist in only 2 places. In a database or in a session cookie. If it is not in the session cookie then it has to be retrieved from the database. Every new session require us to add the information to the session cookie.
Personally it is a waste of resources for limited value. The stats are the only variable in our application display and are required for every page we load.
Alison. The cut down version saves nothing in terms of time. It matters little how much we read. It is the act of having to do a read at all that times the time
Some of you may think I am pushing too hard to get rid of the page stats.
The attached is why I do not like them. It may be a small amount of time but if you think the benefit outweighs the cost then I will happily defer.
Another thought? Why do we need such a large footer on every screen? Take the statistics out of the footer but have them in the same place just above the footer on the Hompepage only. And even take out the links to the other projects in the same way. They should not be used when you are logged in or in the middle of looking at search results.
I like the homepage only option.
Also to note here for the record my in-meeting suggestion as modified by Ali: replace stats with text updated each time we pass a significant number (say every million records). Add new story to design nice button, but in the meantime just use a traditional text link through to the Transcriptions page.
But if it possible to update with text, why not do that during the night time recalculation of the statistics because they do not change during the day.
I was thinking of a manual update.
On 23 February 2017 at 09:39, Eric Dickens notifications@github.com wrote:
But if it possible to update with text, why not do that during the night time recalculation of the statistics because they do not change during the day.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/MyopicVicar/issues/1113#issuecomment-281943333, or mute the thread https://github.com/notifications/unsubscribe-auth/AGC5BiuiCwIKLQZy3FVAQn8whSIXUC-Gks5rfVPigaJpZM4MEiQs .
-- - -
Dr Pat Reynolds Executive Director Free UK Genealogy http://www.freeukgenealogy.org.uk/ A Charitable Incorporated Organisation registered in England and Wales, number 1167484 VAT registration: 233 0105 70
+44 1904 541411 +44 7943 145387
36 Albemarle Road, York, YO23 1ER, UK
Returned to incoming as requirement no longer clear. Has become a moving target with different ideas and suggestions
Currently we display the stats for yesterday in the footer. This requires a lookup of the information every time a page is displayed. We have tried loading the information into the session cookie but that has to be checked and reloaded if absent. The statistics for yesterday are already displayed in the Transcriptions page. It is proposed that we eliminate the stats in the footer. We could add a statement that the stats are available in the Transcriptions page