Recent Activities
This page shows what are we working on.
-
head
-
1.17.3
-
Version 1.17.3 135728
-
fix: correct misleading debug measurements in TrackedDomDocument::indexNodes()
Previously the debug code compared parent::saveHTML() (which still
contains the injected charset meta tag) against $this->originalHtml,
causing 'normalized_bytes' to always equal 'original_bytes' (same
variable used twice) and 'diff_bytes' to always include the ~62 byte
charset meta even when no optimizer had touched the DOM.
Fix: capture a clean DOM snapshot ($initialNormalizedHtml) in the
constructor immediately after loadHtmlWithUtf8() — using the overridden
saveHTML() which strips the charset meta and extracts fragments
correctly. indexNodes() now compares the current DOM state against this
initial snapshot instead of parent::saveHTML() vs originalHtml, so:
- normalized_bytes = actual libxml-normalized size (charset meta removed)
- diff_bytes = only changes made AFTER construction (real optimizer modifications)
- the 'DOM modified before indexing' warning fires only when an optimizer
genuinely changed the DOM before indexNodes() was called, not on every page d36e92 -
fix: HTML minification silently discarded and patch limit too low
- Raise PatchManager::maxPatchesLimit from 500 to 2000 to handle real
Magento pages that generate 500+ DOM patches; previously the limit
caused applyPatches() to bail out and fall back to saveHTML() which
inflated the response by ~12.70% via libxml normalization
- Replace isDirty() guard in Pipeline::run() with a string comparison
so that string-based optimizers (HTML minifier calls setOriginalHtml()
which intentionally does not set the dirty flag) are no longer silently
discarded
- Update PipelineTest to match the new contract: remove stale isDirty()
expectations and add getHtml() stubs where needed 1e0193
-
-
1.17.2
-
head
-
Fix double main_table prefix in where clause for Magento 2.4.8+ 841fcd
-
-
1.0.16
-
1.0.15
-
head
-
Allow setting colors using any available format 8d996f
-
-
1.0.2
-
1.0.1
-
1.1.0
-
1.1.0
-
1.1.2
-
Version 1.1.2 ea9a28
-
Fix module name in README and update composer require command d1fcfe
-
Fixed MCS error - Unescaped output detected 5770d2
-
Refactor tabs and script templates for improved organization and maintainability 24f27d
-
Refactor tab and accordion templates for improved maintainability and consistency 15f318
-
-
1.1.1