* Package List on Web Site
@ 2015-02-08 7:44 John Darrington
2015-02-08 14:42 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: John Darrington @ 2015-02-08 7:44 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
I don't know who or what looks after the web site for Guix, but now that Guix
is growing there are starting to be some scalability issues.
In particular, I have noticed that http://gnu.org/s/guix/package-list.html is now
over 1.5 MB in size and is startign to take an unacceptably long time to load (at
least for me).
Perhaps this would be better split into one page per package, with a seperate index page?
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package List on Web Site
2015-02-08 7:44 Package List on Web Site John Darrington
@ 2015-02-08 14:42 ` Ludovic Courtès
2015-02-08 14:58 ` David Thompson
2015-02-08 16:49 ` John Darrington
0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-02-08 14:42 UTC (permalink / raw)
To: John Darrington; +Cc: guix-devel
John Darrington <john@darrington.wattle.id.au> skribis:
> In particular, I have noticed that http://gnu.org/s/guix/package-list.html is now
> over 1.5 MB in size and is startign to take an unacceptably long time to load (at
> least for me).
I think it’s rendering that takes time, not transfer per se (unless you
have a very slow connection.)
I would like it to use David’s guix-web JS code to add the search box
and multiple-page split. I suspect this would address the rendering
time and usability issues. But of course, that would need help from
someone knowledgeable... :-)
It would be ideal if this were done in a “progressive enhancement”
fashion, such that it can still be viewed in emacs-w3m.
Thoughts?
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package List on Web Site
2015-02-08 14:42 ` Ludovic Courtès
@ 2015-02-08 14:58 ` David Thompson
2015-02-09 22:56 ` Ludovic Courtès
2015-02-08 16:49 ` John Darrington
1 sibling, 1 reply; 5+ messages in thread
From: David Thompson @ 2015-02-08 14:58 UTC (permalink / raw)
To: Ludovic Courtès, John Darrington; +Cc: guix-devel
Ludovic Courtès <ludo@gnu.org> writes:
> John Darrington <john@darrington.wattle.id.au> skribis:
>
>> In particular, I have noticed that http://gnu.org/s/guix/package-list.html is now
>> over 1.5 MB in size and is startign to take an unacceptably long time to load (at
>> least for me).
>
> I think it’s rendering that takes time, not transfer per se (unless you
> have a very slow connection.)
>
> I would like it to use David’s guix-web JS code to add the search box
> and multiple-page split. I suspect this would address the rendering
> time and usability issues. But of course, that would need help from
> someone knowledgeable... :-)
We could make a specialized application that did this, since guix-web
will soon enough be concerned with authentication and other things that
aren't needed here. To do things the way guix-web does, it would
require a Guile server component for the JSON API.
> It would be ideal if this were done in a “progressive enhancement”
> fashion, such that it can still be viewed in emacs-w3m.
Yes, agreed. This would be the hardest part, because guix-web is
designed as a "single-page application", using JavaScript for all
rendering. I would be inclined to write this package list browser in
the same fashion, because it results in much more elegant code than the
jQuery soup we would otherwise be in.
What should the non-JS fallback viewer look like? Should we just
display the full list as we do now?
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package List on Web Site
2015-02-08 14:42 ` Ludovic Courtès
2015-02-08 14:58 ` David Thompson
@ 2015-02-08 16:49 ` John Darrington
1 sibling, 0 replies; 5+ messages in thread
From: John Darrington @ 2015-02-08 16:49 UTC (permalink / raw)
To: Ludovic Court??s; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]
On Sun, Feb 08, 2015 at 03:42:08PM +0100, Ludovic Court??s wrote:
John Darrington <john@darrington.wattle.id.au> skribis:
> In particular, I have noticed that http://gnu.org/s/guix/package-list.html is now
> over 1.5 MB in size and is startign to take an unacceptably long time to load (at
> least for me).
I think it???s rendering that takes time, not transfer per se (unless you
have a very slow connection.)
You may well be right. But I think that 1.5MB is *way* too large for a single web page.
I'm relatively well connected but there are people in the world who still use 56kps internet
connections.
I would like it to use David???s guix-web JS code to add the search box
and multiple-page split. I suspect this would address the rendering
time and usability issues. But of course, that would need help from
someone knowledgeable... :-)
Artanis is another possible tool that might help, but I don't know much about it either.
It would be ideal if this were done in a ???progressive enhancement???
fashion, such that it can still be viewed in emacs-w3m.
It certainly should be viewable with w3m, and with links, yes.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package List on Web Site
2015-02-08 14:58 ` David Thompson
@ 2015-02-09 22:56 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-02-09 22:56 UTC (permalink / raw)
To: David Thompson; +Cc: guix-devel
David Thompson <dthompson2@worcester.edu> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> John Darrington <john@darrington.wattle.id.au> skribis:
>>
>>> In particular, I have noticed that http://gnu.org/s/guix/package-list.html is now
>>> over 1.5 MB in size and is startign to take an unacceptably long time to load (at
>>> least for me).
>>
>> I think it’s rendering that takes time, not transfer per se (unless you
>> have a very slow connection.)
>>
>> I would like it to use David’s guix-web JS code to add the search box
>> and multiple-page split. I suspect this would address the rendering
>> time and usability issues. But of course, that would need help from
>> someone knowledgeable... :-)
>
> We could make a specialized application that did this, since guix-web
> will soon enough be concerned with authentication and other things that
> aren't needed here. To do things the way guix-web does, it would
> require a Guile server component for the JSON API.
I was thinking of something simpler: statically generate
package-list.html (as we currently do, with list-packages.scm), but
instead of spitting out the HTML table directly, produce the JSON data
that guix-web’s browser-side code expects.
>> It would be ideal if this were done in a “progressive enhancement”
>> fashion, such that it can still be viewed in emacs-w3m.
>
> Yes, agreed. This would be the hardest part, because guix-web is
> designed as a "single-page application", using JavaScript for all
> rendering. I would be inclined to write this package list browser in
> the same fashion, because it results in much more elegant code than the
> jQuery soup we would otherwise be in.
>
> What should the non-JS fallback viewer look like? Should we just
> display the full list as we do now?
I think so.
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-02-09 22:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-08 7:44 Package List on Web Site John Darrington
2015-02-08 14:42 ` Ludovic Courtès
2015-02-08 14:58 ` David Thompson
2015-02-09 22:56 ` Ludovic Courtès
2015-02-08 16:49 ` John Darrington
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).