-
Notifications
You must be signed in to change notification settings - Fork 2
Ideas (brotli, webp, GCC, ...) #4
Comments
feel free to make some PRs 😃 |
Will do so when I find the time. Until then this issue is meant as todo card (I do not have access to the projects and boards in this repo). |
I don't understand the usage of brotli. For which reasons? |
Brotli is used for CSS, JS, SVG and so on and is a much better compression algorithm than gzip. In performance and power usage. |
I dont understand why this should be included here :). Its the job from the webserver to do that |
brotli can be used as binary like cwebp and then we only have to add some lines to the .htaccess to enable it so no, it is not the job of the serer as the dynamic conversion would be slower. You want to do that statically and AOT. |
Hi, I thought I ask some things in this thread.. I think there could be a little more information about nodejs / npm installation and use. Do we need it as Standalone or CLI installation ? like this? (https://github.com/nodesource/distributions/blob/master/README.md#debinstall) And will i need to add a cron job on ./bin/console frosh:purify:css or will FroshPerf trigger it after template compilation? (That way i got [OK] Purified css from 502.94K to 476.93K) |
Better ask this in a separate issue as this is not related to this issue ;-) |
To answer your question, both should be on your path (or globally installed). See FroshPerformance/Components/PurifyCss.php Line 57 in 2bf3f2d
FroshPerformance/Components/PurifyCss.php Lines 92 to 93 in 2bf3f2d
But personally I would use Closure Stylesheets. |
Some scripts that I've used for some projects (with slightly different content): https://github.com/DanielRuf/brotli-bootstrap/blob/master/bootstrap.sh |
I had some more things in my mind.
A few of them are:
https://github.com/DanielRuf/talks/blob/master/03_wpo_unkonf_2018/slides.pdf and other slides and talks from me contain also a few more details and links
The text was updated successfully, but these errors were encountered: