Automattic / Automattic/juice

Performance improvements?

Open
#298 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.3k
Forks
233
Avg merge
1d 10h
Merged PRs (30d)
8

Description

Hi all, had a read through the documentation and struggling to see any potential caching going on? As far as I understand it, Juice will go around reading in the contents of files and inlining them into the string. Could some caching be implemented in the app to prevent recurring reads of the same files?

If this isn't an option, are there any tips for performance tuning that you would recommend?

Contributor guide

Open the contributing guide

Research direction

The issue names no implementation files, tests, or entry points. Start by reviewing the documentation on file inlining and tracing repeated file reads in the JavaScript implementation; establish a reproducible performance baseline before deciding whether caching or tuning guidance is appropriate. Done requires an agreed scope and measurable performance improvement or documented recommendations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.