Site optimization on pyro
Created 5 years ago by czorny813Hello,
How best to optimize pyro to make the site work as fast as possible? what are the principles of optimization in pyro to make it work more efficiently
Thanks
Hello,
How best to optimize pyro to make the site work as fast as possible? what are the principles of optimization in pyro to make it work more efficiently
Thanks
From a backend perspective make sure you're on decent SSD and autoload with optimize
-o
and--no-dev
options. Also make sure to make your.env
file usesAPP_ENV=production
.From a front end perspective use
.path
or.url
off assets instead of.route('view')
so that PHP isn't serving your images. Make sure live assets is turned off in your.env
. Also if you're not on the latestv3.5
dev branch make sure to removehtmlcompress
and it's closing tag from your layouts if you are using those. There's a performance issue there that was just fixed.