Just wanna ask whether we have brotli installed for ob_start() or should I install it since I cache my pages. I wanna make my site fast
- Wrong category. Should be Hosting Support
- This is shared hosting. If it works then it works, if it doesn’t then it doesn’t. You don’t control the server software, you cannot install additional modules by yourself.
As far as I know, ob_start() doesn’t do output compression. Output compression is typically not done by PHP at all, but by the web server in front of it.
We do apply gzip compression by default, but not Brotli.
Brotli technically provides slightly superior compression. However, that’s a highly specific optimization with extremely small real world benefits.
I think that if you’re having an actual performance problem with your website, then using Brotli compression will not solve it. And if you just want to hyperoptimize your website for performance, then you may want to consider use something more advanced than a free web hosting service.
And if you’re just doing this as an educational experience, then I suggest you skip this one and look for something else you can try.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.