Olmo's CLI.
npm install @olmokit/cli> For all the documentation refer to the Olmo docs
- [x] Run php artisan view:clear && composer dump after generate component and after core (not needed with ps-4 autoloading mechanism)
- [] autogenerate dummy translations.csv files based on cms api response in case they miss
- [] check should check that there is a /vendor folder, otherwise run composer install
- [] Add this command somewhere to the end of your deploy script (I put it just after artisan up) php artisan opcache:clear source
- [] Implement preload/prefetch, see article from webpack author and probably use preload-webpack-plugin.
- [x] CSS is inlined if the file size is minor than 50kb, as the AMP specification suggest. JS inline threshold is set to just 2kb instead, see this article.
- [] evaluate the use of compression-webpack-plugin
- see How to force https, www and a trailing slash with one redirect for a good explanation on how to manage SEO friendly redirects through .htaccess