Foros de discusión
Stop loading extra files
Anil T, modificado hace 6 años.
Stop loading extra files
Expert Mensajes: 313 Fecha de incorporación: 14/01/12 Mensajes recientes
Hello Team,
I am seeing the below files are loading for guest user on my portal. Could anyone suggest me to stop loading these files for guest user and power user. These should load for administrator.
/html/css/main.css
/html/portlet/login/css/main.css
/html/portlet/dynamic_data_mapping/css/main.css
/html/portlet/staging_bar/css/main.css
/html/portlet/journal/js/navigation.js
Thanks,
Anil T
I am seeing the below files are loading for guest user on my portal. Could anyone suggest me to stop loading these files for guest user and power user. These should load for administrator.
/html/css/main.css
/html/portlet/login/css/main.css
/html/portlet/dynamic_data_mapping/css/main.css
/html/portlet/staging_bar/css/main.css
/html/portlet/journal/js/navigation.js
Thanks,
Anil T
David H Nebinger, modificado hace 6 años.
RE: Stop loading extra files
Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientesAnil T:
Could anyone suggest me to stop loading these files for guest user and power user.
Before you start adding/removing files, you really should have some sort of solid reasoning besides "we just don't want them".
You might say it is affecting the loading time for your page, but before you can claim this you would need to have some sort of measurements which demonstrate the impact of including the files.
A lot of times folks want to exclude files for nothing more than an invalid perception that the files significantly impact load times when, more often than not, the problem is custom code.
Come meet me at Devcon 2017 or 2017 LSNA!