fipamo/app/Repositories
ro 9991c9647d
performance update, fix for bulky tags file
cleaned up the code to get a massive boost to publishing and page
rendering speeds

the issue was related to pages being collected and transformed into
objects the system could use multiple times, resulting in sluggish
rendering due to available memory getting drained to accomodate a long
script running more than it was needed. edited the rendering process so
the script is only called one and the data is passed to the respective
functions that require that data.

also plugged in some minor manual garbage collection that speed up the
process a bit more

there was also a bug with rendering the tags file that was resulting in
the `tags.json` file being unusually large. the issue was tags were
getting replicated in the process resulting in adding duplicates to the
tag file everytime it was run. go rid of the unnecessary function that
was calling the replicate tags array and now the tags file is it's
appropriate size

whew, this turned out to be a big one that wasn't meant to be, but the
peformance boost was worth it
2025-06-18 13:43:24 -06:00
..
MemberRepository.php API Improvements #116 2024-07-17 16:41:11 -06:00
PageRepository.php performance update, fix for bulky tags file 2025-06-18 13:43:24 -06:00