Hello everyone,
my DokuWiki sometimes generates ODT files that are pretty large, considering the little amount of data contained. I'm using the ODT plugin. I observed a lot of situations where a one-paged ODT file had a size of around 8 MB.
Today, I observed a generated file with a size of 38 MB. This time, I looked into it and found that when opening the file with LibreOffice, then saving it within, the file size shrinks to 168 KB.
Apparently, there is no relevant optimization done by LibreOffice during saving. I think so because when I open both files with 7zip (the one generated by DokuWiki, and the one being saved by LibreOffice), the contents seem to be reasonably similar when looking at file/folder sizes vs. packed sizes.
In the following image you can see both files opened in 7-Zip. The file on the bottom is the file generated by DokuWiki, while the file on top is the one I copied, then opened in LibreOffice, then saved.
Does anyone have an idea why the ODT plugin might generate valid, but bloated odt files?
Best regards
Thomas