Skip to content
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

Make (re)generating website faster #174

Open
pronskiy opened this issue Oct 8, 2024 · 3 comments
Open

Make (re)generating website faster #174

pronskiy opened this issue Oct 8, 2024 · 3 comments

Comments

@pronskiy
Copy link
Member

pronskiy commented Oct 8, 2024

Generating and re-generating the website now takes quite significant time, which makes updating painful.

As I understand, the reason is that it generates everything from scratch every time, even if the content hasn't changed. In addition, mermaid diagrams regeneration takes some time.

@sy-records
Copy link
Contributor

Where are you looking at the time from?
I checked in GitHub Actions and it takes 20s to build the production site https://github.com/ThePHPF/thephp.foundation/actions/runs/11176464759/job/31069884590

@pronskiy
Copy link
Member Author

pronskiy commented Oct 8, 2024

The production build doesn't matter much as it's on GH action.

I meant the development cycle – 20s for any change is very annoying.

@Ayesh
Copy link
Collaborator

Ayesh commented Oct 8, 2024

Yeah I noticed this too. It used to be instantaneous before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants