If CSS/JS files are consistently used together, they can be merged.
Previously we tried to automatically detect what CSS/JS files were used on the home page. However, it was over-complex and unstable when caching is involved, making it very difficult to debug and making the code horrible.
A better ap…
Suggested by Chris Graham on 10th June 2019
» Full details and sponsorship (0 comments)
See comments for discussion of formats.
For video, we should support metadata detection (width, height, length) for whatever container format becomes common.
Old text:
WebP now offers better lossless and lossy compression than PNG and JPEG.
As Microsoft have switched to Chromium, the only hold-out…
Suggested by Chris Graham on 10th June 2019
» Full details and sponsorship (5 comments)
We can do responsive images simply using something like width: 100% in CSS or width="100%" in HTML.
This makes things mobile-friendly, but it makes things less-friendly performance-wise as it requires a page reflow once the image metadata (width and height specifically) loads.
Ideally we would be abl…
Suggested by Chris Graham on 10th June 2019
» Full details and sponsorship (3 comments)
We must not have any Google Fonts blocking the critical rendering path.
Google does provide a solution for this:
https://www.lockedownseo.com/load-google-fonts-asynchronously-for-page-speed/
Suggested by Chris Graham on 10th June 2019
» Full details and sponsorship (1 comment)
Implement automatic creation and signing of .sxg files, so edge CDN servers (e.g. hosted by Google) can preload pages to users.
https://developers.google.com/web/updates/2018/11/signed-exchanges
Suggested by Chris Graham on 10th June 2019
» Full details and sponsorship (0 comments)
See https://www.html5rocks.com/en/tutorials/developertools/sourcemaps/
Suggested by Chris Graham on 10th June 2019
» Full details and sponsorship (0 comments)
Firefox is experimenting with pre-parsed JavaScript, as an optimisation.
https://blog.cloudflare.com/binary-ast/
https://bugzilla.mozilla.org/show_bug.cgi?id=1349917
It's very early-days, but we could potentially ship a binary-AST compiler as a part of Composr.
Update tut_webapp to reference the…
Suggested by Chris Graham on 10th June 2019
» Full details and sponsorship (1 comment)
Check (on a per-page Health Check) whether the OpenGraph image is good.
Possibly add a new OpenGraph preview option to the preview script.
Suggested by Chris Graham on 11th June 2019
» Full details and sponsorship (1 comment)
Currently the default is for rep-images to be sized to thumbnail size when you upload them (resize_rep_image function).
This makes little sense for multiple reasons:
1) Rep-image size is not necessarily going to have anything to do with thumbnail size. For example, the image in the corner of a news art…
Suggested by Chris Graham on 17th June 2019
» Full details and sponsorship (2 comments)
Add fields.xml validations for validating the following image properties...
minWidth
maxWidth
minHeight
maxHeight
maxFileSize
minAspectRatio
maxAspectRatio
forceLossless
forceRaster
forceVector
forceFileType
Suggested by Chris Graham on 17th June 2019
» Full details and sponsorship (1 comment)