I'm using nginx with wildfly behind.

Nginx i'm using as reverse proxy and add Expires Header

When i access my static files in my browser the Expires Header is present, but when i run the SEO test on https://www.webpagetest.org, by example, the url of my static files received ;jsessionid and Expires Header Doesn'works.

How can I prevent this?


  • You need to fix your app server. – Tero Kilkanen Oct 25 '16 at 19:12

I fixed my problem.

After comment of Tero Kilkanen. I discover the source of problem was in Wildfly 10 server. He append ;jsessionid in links.

To solve i just add the following tag in my web.xml


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.