integrations icon indicating copy to clipboard operation
integrations copied to clipboard

improve(git-changelog): splitting Git data into page-level

Open northword opened this issue 7 months ago • 3 comments

Splitting the data in Virtual Module down to the page level so that when a user visits the site, they don't need to download a very large Gitlog file (usually theme.hash.js) first, and therefore have higher performance.

Ref: https://github.com/nolebase/integrations/issues/223 , this was discussed in Discord and I am creating a ticket for this issue to track it, this is probably a long term plan and I don't have much ideas on how to implement it at the moment.

(may be?) In the short term, we could probably try to split the git data out of theme.hash.js so that only when the site content is updated (usually only the git data data is changed in theme.hash.js), the user doesn't have to pay for the unchanged parts of theme.hash.js. ref: rollup config: output.manualChunks.

northword avatar Jul 27 '24 14:07 northword