I have a blogdown site which I want to view locally after writing a new post and applying serve_site()
Building the site takes around 30secs with a similar time before the
"Serving the directory" message arrives and the site shows up in the Viewer pane
However, when I attempt to open this in a new window I get the "Waiting for 127.0.0.1" but nothing usually appears
For instance I'm currently up to 15 mins and still waiting
This is strange considering you have only a few pages to render.
I can render 500 posts in about 2 seconds:
tarted building sites ...
Built site for language en:
0 of 3 drafts rendered
0 future content
0 expired content
569 regular pages created
1668 other pages created
0 non-page files copied
1186 paginator pages created
8 categories created
26 bangumis created
795 tags created
total in 2121 ms
Here is my suggestions:
Please check hugo version using blogdown::hugo_version() and if possible, blogdown::update_hugo()
If you want to see the actual duration of template rendering. You can use the latest hugo (v0.30.2) and run this in the site directory:
@tctcab
Thanks. Running that, I have some shortcode tweets which are most costly and one or two others that might be worth pursuing but it still, currently, adds up to only a few seconds
I think that the issue of taking so long to open in browser may well have been down to having too many other tabs open; so I wll keep an eye on that in future