Affects Version/s: 6.2.0 CE RC1, 6.2.0 CE RC2
Fix Version/s: None
Component/s: UI Infrastructure
Environment:Vanilla Tomcat bundle on MySQL, but any other will do too.
Similar Issues:Show 5 results
LPS-39195 The select of file is depending of the language of the user. LPS-29009 File Icons in the Resources Browser will reflect the name of the file it's accessing instead of what the file actually is LPS-24110 Social Bookmarks url is different for different languages and language-dependent LPS-47621 Mobile versions of Image Properties and Resource Browser LPS-29252 Notification for incoming chat messages is browser dependent
Looking at the the rendered source code of a vanilla
You'll find following included resource;
Notice the browserId and languageID
AFAIK only the com.liferay.portal.servlet.filters.minifier.MinifierFilter is actually using the parameter browserId
The LanguageId parameter seems only used in other request and not the resources.
I discussed this one a year ago with Jorge Ferrer & Iliyan Peychev.
The problem lies in the caching of static resources through a Web Server Cache like Apache/Nginx/Varnish.
Which is promoted by Liferay's official High Availability and performance whitepapers.
When we support multiple languages while adding the browsers (other/firefox/ie) to the equation, we can have a multifold of possible resources being cached.
Not only eating up server resources but with a possibility of being unsynchronized to each other.
Of course this can be mitigated by some smart caching algorithm.
In my and others opinion it is however doubtful if this is a good method.
It might get misused in the future by mistake.
Next station might be adding view ports and devices as parameters too