Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
-
Whenever users navigate to different pages, a new Favicon gets requested each time by generating the new values of the q param which can ultimately consume more data bandwidth.
- To overcome this, cache the Favicon in the browser since this is consuming more data bandwidth, and better optimization is needed.

-
Steps to check the behavior:
- Open the browser's dev tool (F12) with the network tab (disable cache), clear browser cache if not empty.
- Access Liferay (for example via localhost:8080)
- Filter the list of monitored browser requests by 'fav' for easier observation.
- 'Reload' the page by clicking on the page name in the navigation bar (do not refresh the browser tab).
Environment
- Liferay DXP 7.4
- Liferay PaaS
Resolution
- This observed behavior has been addressed via LPD-20691
-
Below are the following observations when users visit different pages:
- On every page navigation non cachable favicon is requested.
- A new favicon request is caused on each page navigation by the '?q=0.1234567890'.
- Such navigation should not cause a new favicon request on each page navigation by the '?q=0.1234567890' style query terms.
- So to avoid this, favicon.ico is cached after the first time is rendered hence by avoiding the new favicon requests on each page navigation.
-
Please submit a support ticket for getting a hotfix for the same by attaching patch details.