Databases Reference
In-Depth Information
Fortunately, Liferay provides a way to enable or disable this check through
configuration. It is recommended to disable this check in the production
environment. We can disable this check by adding the following property
to portal-ext.properties :
direct.servlet.context.reload=false
Plugin repositories
Liferay Portal uses online plugin repositories to check for updates. Liferay provides
a way to configure which plugin repositories it should check for. Internally, Liferay
runs a scheduler every day, which reloads all the configured repositories. This check
involves accessing the repository using the repository URL. It also checks for the new
version of the installed plugins. In the production environment, we usually avoid
making direct installations. Hence, this feature is not really useful in the production
environment. But still it consumes resources every day to download the metadata
of the configured plugin repositories. It is recommended to disable these features in
the production environment. To disable these features, we need to add the following
properties to portal-ext.properties :
plugin.repositories.trusted=
plugin.repositories.untrusted=
plugin.notifications.enabled=false
Pingbacks and trackbacks
Pingbacks and trackbacks are methods to request a notification when somebody
adds the link of a web resource to their documents. Liferay supports trackbacks
and pingbacks for collaboration features like blogs and message boards. Liferay
Portal provides a way to configure the trackback and pingback URLs for each blog
and message board posts. Internally, Liferay Portal sends requests to the pingback
and trackback URLs. This operation uses a good amount of server resources. If the
solution uses blogs and message board portlets but it does not need the pingback
and trackback features, the system will unnecessarily use system resources for these
features. Liferay Portal provides a way to disable these features. To disable them we
need to add the following properties to portal-ext.properties :
#
# Todisable pingbacks in blogs portlet.
#
blogs.pingback.enabled=false
#
# Todisable trackbacks in blogs portlet.
#
blogs.trackback.enabled=false
 
Search WWH ::




Custom Search