Recent Activities
This page shows what are we working on.
-
1.0.4
-
1.0.3
-
head
-
refactor: extract DOM utilities and move logic from Context to Manager
- Created ScriptTagEscaper, HtmlFragmentExtractor, BomStripper utility classes
- Moved document/XPath caching from Context to Manager
- Manager now handles all HTML rendering, patch application, and fragment extraction
- Context simplified to pure coordinator (metadata, dirty state, delegation)
- TrackedDomDocument made originalHtml readonly and added mode getters (isDocument/isFragment)
- Manager auto-detects fragment mode from TrackedDomDocument
- Added clearCache() method to Manager for cache invalidation
- Fixed code style inconsistencies (spacing, comments) 41aee6 -
refactor: centralize UTF-8 BOM constant to TrackedDomDocument and remove duplicates 2ab7ba
-
Merge branch 'master' of github.com:swissup/module-pagespeed 2b0da4
-
refactor: move DomManager to Swissup\Pagespeed\Model\Dom\Manager and rename getDom() to getDocument()
- Moved DomManager from Model\Optimizer to Model\Dom (as Manager) for clearer domain separation and SRP.
- Updated all usages: Context, ContextFactory, optimizers, and tests now use Model\Dom\Manager (aliased as DocumentManager).
- Renamed method getDom() → getDocument() everywhere to clarify returned value meaning and avoid ambiguity.
- Renamed variables/params to for consistency.
- Removed obsolete Model\Optimizer\DomManager.php and related unit test.
- Aligned naming in tests and classes for better code readability and maintainability. 1bca16
-
-
1.16.8
-
Version 1.16.8 3dab8d
-
fix: Preserve script tracking in DeferJs with DocumentFragment
Replace complex parent grouping with simple DocumentFragment approach
that maintains 16x performance while ensuring TrackedDomDocument
properly tracks all script movements.
- Use appendChildToElement() for proper tracking
- Keep DocumentFragment for batch performance
- Fix missing operations in attribute_change_log 44e937
-
-
head
-
init 8c6324
-
-
head
-
Remove private repo from readme, because users add it too 5caa73
-
-
1.8.0
-
1.8.0
-
Version 1.8.0 55744f
-
-
1.0.0
-
Added instruction about generating tailwind styles 7efd14
-
Remove links as we don't have docs for hyva modules f55368
-
Use same notation for the module name as parent module use 08d5ec
-
Fixed incorrect `aria-disabled` selector 551157
-
edit readme f5f158
-
change composer 9bbf82
-
fix code style b3b070
-
create widget and departments f4914e
-
filter 8eff4c
-
c1 164c87
-
initial commit 7166c9
-
-
head