Around May I posted a critical CSS generator and it got some attention. I found a word-for-word copy that performs better in Google but has worse results IMO, recently received an email of a person who uses the tool often asking if the tool was being used to train AI and even shared the repo with some people that asked me.
Anyway, this tool appeared to be useful for many people so I moved it to my main site and made it work with Frontend Frameworks and inline CSS, so should work for everyone now.
Content that appears in the viewport before scrolling is considered 'above-the-fold' and is thus prioritised to load quickest. The viewport dimensions are used to figure out what will be above-the-fold.
Anyway, this tool appeared to be useful for many people so I moved it to my main site and made it work with Frontend Frameworks and inline CSS, so should work for everyone now.
Can you explain why the viewport width and height are needed?