302 Moved Temporarily (BFCache)
The web application is multilingual and has a button in the header part to switch between the languages.
When we click on language button in chrome the request is served by server, but in case of Firefox request doesn’t reach to server instead page is loaded by browser cache (302 Moved Temporarily (BFCache).
Due to the this caching, page remains in the same language and this is happening when we have static contents over APACHE web servers. The Response header says "The request was resolved directly from the cache, so we have no response from the server. See below for the cached response."
Application is build as Liferay Portal and it's not live as of now. A quick help will be really appreciated.
Below is the example of the url where the user is getting redirected when user clicks on language button.
https://10.48.41.100:443/web/guest/home?p_p_id=82&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&_82_struts_action=%2Flanguage%2Fview&_82_redirect=%2Fweb%2Fguest%2Fhome&_82_languageId=en_US
Wót raghu_g
Wšykne wótegrona (1)
What is the cache control header?