I have a question about content cleanup in Kirby, I asked at Discord but nobody answered. Is this purely cosmetic or does it also have a big impact on the performance of Kirby? The background is that I have merged two fields and am now wondering whether it could make the panel or the frontend faster if I remove the 2nd field completely from the content files or leave it as it is, albeit empty.
In general, I am very interested in the question of how the number of fields behaves. Currently, around 12,000 entries are loaded in the panel (only products, about 10.000 more on other pages), so everything takes a little longer. Does one field more or less make a difference? What effect do dynamic fields have where options are pulled from the child page using a query? Does anyone here have any experience? Generally in topic performance, my panel is unbelievable slow …
empty fields do not impact performance. their impact on filesize and such the loading time of content is almost zero as well.
kirby has a cookbook dedicated to cleaning up content and that will remove those fields.
my janitor plugin has the same logic built in as well.
in regard to the panel performance it really depends on
how many pages are in a single folder
what kind of dynamic information or queries you are using in the blueprints
if you share those here the community and official support will certainly be able to help you pinpoint and solve those bottlenecks.
I have created multiple websites that have 50k or more content pages and load thousands of them in a single request while keeping the panel and frontend respond quickly. it certainly can be done.
depnding on which version of kirby you are using there are some plugins to add broad caching layers. but in general the issues can be solved in reducing just a few critical calls.
Hello, thanks for your assessment. It’s good to know that empty fields probably have no influence on performance
Yes, I know the content cleanup script (and of course janitor), so my question is whether it is purely cosmetic to run content cleanup or whether it has an effect if old fields with values are still in the content files, but without them being called.
I currently define my categories in products.yml. These are then loaded in product.yml so that they are available for selection. Here I was wondering to what extent a simple query to the parent page can influence the performance in the panel.