Message Boards

How to remove dynamic query string from url in IE browser?

Bhargav Vandana, modified 5 Years ago.

How to remove dynamic query string from url in IE browser?

New Member Posts: 5 Join Date: 3/7/19 Recent Posts
I am using IE 11 browser. when i hit the URL, dynamic query (zx = lkadsfjasdfasdf) is getting appened to the url automatically.

Because of this my page is not getting cached so it is taking time to load verty time.

How can in disable dynamic query string from url in IE browser?
thumbnail
Christoph Rabel, modified 5 Years ago.

RE: How to remove dynamic query string from url in IE browser?

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Is it really "zx = lkadsfjasdfasdf"?
In that case, it is not from Liferay. Either it is some customization you did or it could be from a frontend server, Loadbalancer, ... I saw something like this happen before, when DDOS protection was enabled. The firewall(?) attached a ticket to each and every url, which was quite annoying.
Bhargav Vandana, modified 5 Years ago.

RE: How to remove dynamic query string from url in IE browser?

New Member Posts: 5 Join Date: 3/7/19 Recent Posts
Thank you Christoph Rabel  emoticon

This is happening only in IE browser. 

" https://mydomain.com/web/compass/mypractice?zx=pa01udujqdt7 "

as you said,  if it is from frontend server or loadbalancer ... above query string should be appended to every request in other browsers too. but i didn't see the dynamic querystring in other browsers.
thumbnail
Christoph Rabel, modified 5 Years ago.

RE: How to remove dynamic query string from url in IE browser?

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Ok, turns out, I was wrong. There actually is a zx parameter in Liferay, But I am not sure when it is appended and how to get rid of it.
Which version of Liferay do you use?
thumbnail
Christoph Rabel, modified 5 Years ago.

RE: How to remove dynamic query string from url in IE browser?

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Ok, it's appended by Senna.js

You could open a ticket here, maybe the guys there can give you some tipps.
https://github.com/liferay/senna.js/issues


To globally disable senna in portal, you can use this setting in portal-ext:
javascript.single.page.application.enabled=false

This has some negative performance impact too, but it should get rid of the zx parameter and might be preferable in your case.