Re:Perl 5.30.0 documentation site
by equalunique on Monday June 10, 2019 @11:38AM
(#20147703)
Is it just me, or is the site "faster" than most?
[ Parent
| on HN ]
Bet it's static or server-side rendered, and not running much JS in either case. Every time I've been surprised at the speed of a site in the last few years it's been static or some old-school server-side stuff—even PHP. All our "modern" web stacks are embarrassingly bloated and require heroic effort to be as fast as "bad" old tech.
It is static rendered HTML. But https://perldoc.pl is dynamically rendered (it is a Mojolicious app) and the difference is not noticeable to me except on huge pages. perldoc.perl.org before the refresh was already static HTML but very slow. I think there is a lot more to it than deployment strategy.
Re:Perl 5.30.0 documentation site
by equalunique on Monday June 10, 2019 @09:24PM
(#20152387)
I noticed snappiness on perldoc.pl as well. Fantastic!
Re:Perl 5.30.0 documentation site
by justinator on Monday June 10, 2019 @01:24PM
(#20148794)
Bet you're right.
The great majority of the site's content is pulled from POD docs that come with the Perl distro. No reason to convert that at every request. I wouldn't be surprised if most of the tooling to make Perldoc is on CPAN already.
Re:Perl 5.30.0 documentation site
by just_myles on Monday June 10, 2019 @01:46PM
(#20148982)
Dude, it is fast! wuh?