Hi,
I have been working on speed issue on mobile.
On Google Speed Insights, the website is around 14%, and is not good at all.
I would like to switch on 'minify css' and 'minify js', but on live website we are not allowed to use developer mode, and we are unable to switch on them.
Would we be able to turn them on without enabling developer mode?
Solved! Go to Solution.
Hello @tvgarden
you need to run below sql into your db
UPDATE `core_config_data` SET `value`='1' WHERE `path`='dev/js/minify_files'; UPDATE `core_config_data` SET `value`='1' WHERE `path`='dev/css/minify_files';
hope it will help you.
if works then mark as solution
more info :-
https://magento.stackexchange.com/questions/187954/magento-2-how-to-disable-minify-css-js-setting
Hello @tvgarden
you need to run below sql into your db
UPDATE `core_config_data` SET `value`='1' WHERE `path`='dev/js/minify_files'; UPDATE `core_config_data` SET `value`='1' WHERE `path`='dev/css/minify_files';
hope it will help you.
if works then mark as solution
more info :-
https://magento.stackexchange.com/questions/187954/magento-2-how-to-disable-minify-css-js-setting
@tvgardenHey,
I believe you know what you are doing. Before making any of those change make sure to perform the same on your test/staging environment. I would recommend make all those change and test on your stage environment. You need to test the speed as well in there. If you see some improvement then only think of moving it in production.
Enabling minify css/js directly on production without testing would may cause a lot more downtime then you may be thinking of.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.