Closed ashmaroli closed 2 years ago
Since the meta tag contents doesn't depend on page-specific metadata, the resulting markup is essentially the same for all pages / documents in a site: https://github.com/jekyll/jekyll-feed/blob/653999c975564e30003d2c0c247d59e5a89eecda/lib/jekyll-feed/meta-tag.rb#L23-L38
Therefore in theory, the result can be safely memoized to avoid generating arrays for every page / document..
/cc @parkr to verify that this doesn't interfere with the jekyll-github-metadata plugin..
jekyll-github-metadata
@jekyllbot: merge +bug
Since the meta tag contents doesn't depend on page-specific metadata, the resulting markup is essentially the same for all pages / documents in a site: https://github.com/jekyll/jekyll-feed/blob/653999c975564e30003d2c0c247d59e5a89eecda/lib/jekyll-feed/meta-tag.rb#L23-L38
Therefore in theory, the result can be safely memoized to avoid generating arrays for every page / document..