BUG: Inefficient page processing resulting in slow down #120

Closed
opened 2025-05-26 22:03:43 +02:00 by ro · 1 comment
Collaborator

Ran into a serious bug when it comes to processing pages on save.

With few pages (>20) there is no issue but as more content is created, the script that processes pages becomes slower and slower.

This is due to the script that collects all of the markdown files and makes them collections for use in Laravel is also called to re-process every single page when a new page is created or edited.

The solution is to only run the markdown collection script once so the app as the data it needs, then individually files as needed instead of running it over and over again

This is a blocking issue, so 3.1 will not be released until this is addressed.

Ran into a serious bug when it comes to processing pages on save. With few pages (>20) there is no issue but as more content is created, the script that processes pages becomes slower and slower. This is due to the script that collects all of the markdown files and makes them collections for use in Laravel is also called to re-process every single page when a new page is created or edited. The solution is to only run the markdown collection script once so the app as the data it needs, then individually files as needed instead of running it over and over again This is a blocking issue, so 3.1 will not be released until this is addressed.
ro added this to the Beta 3.1.0 milestone 2025-05-26 22:03:43 +02:00
ro self-assigned this 2025-05-26 22:03:43 +02:00
Author
Collaborator

Took a bit of doing, but this one has been cleared.

Page rendering times have been vastly improved and overall site performance is snappier.

Took a bit of doing, but this one has been cleared. Page rendering times have been vastly improved and overall site performance is snappier.
ro closed this issue 2025-06-24 19:37:30 +02:00
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: projects/fipamo#120
No description provided.