-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance of uncached local builds of the site #8305
Comments
This is something @mattstratton has done periodically in the past, and it's likely time to do it again. |
The being said, if @don-code wants to write a script or tooling to automate it I’m good with that too :) |
You can’t remove the data files for old events btw because the /events page uses them to build the list of past events :) |
Here’s an example of an event that has been moved to https://github.com/devopsdays/devopsdays-web/tree/master/static/events/2016-chicago |
Here's a PR to archive 2017 and some of 2018 (the ones that have run again in 2019): #8332 |
Hi, @don-code - I think you'll find that your build times are significantly improved if you rebase from upstream master. Thanks. |
Thank you for #8332! Our event is coming up in four days, so I'll likely action this issue with some automation for future years once I get some time back afterwards. |
I additionally archived late 2018 in #8983. This is a pretty trivial process, but in doing so, we've noticed that we could improve the process to ensure we don't end up with broken links from updated sponsors and missing links to newer events: #8983 (comment) |
Is there additional work in the scope of performance improvements, @mattstratton? If not, I suspect this issue is as solved as it's going to get. |
Given that we are tracking overall performance things in #7949, I think we can close this one. |
Building the DevOpsDays site on my laptop, when plugged in, kicks up the fan and takes over five minutes:
Today I built it on a train ride, for which I kept the laptop in power save mode to conserve battery, which took 24 minutes:
By removing events from 2018 and prior, the five minutes becomes just north of one:
That said, one possible solution would be to prerender old events which would no longer change, and serve them as static assets rather than dynamically-generated content. Is there any interest in that solution? I'd be happy to build a tool that does it, and PR in the result of running it for 2018 and prior.
The text was updated successfully, but these errors were encountered: