![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
In Firefox when we open a web page that has embedded PDF document in it, if we are at say page number 5, after I leave the page and reload it, the PDF page does not refreshed and gets loaded from page 5 rather then from page 1 of the pdf document
How to address this issue though jQuery or JavaScript from Web page (JSP ) so that on reloading the JSP page afresh, the PDF document embedded in the page is loaded from the first page onward instead of getting loaded from the cache and that too getting loaded from the page where I left last when I went out of that web page . For example, if I was at page 5 before leaving the page and then revisit the same page, it should load from the 1st page, but loads from the 5th page where we left last unlike Chrome or IE/Edge. Thanks Arunabh
Spremenil pathak.arunabh
Vsi odgovori (3)
Hi pathak.arunabh, please ignore the unofficial support solicitation that someone posted. We have no idea where that leads and don't want you to get scammed.
Hi Arunabh, Firefox may cache page state more aggressively than other browsers. You can attach a script to the pageshow event to cover the scenario that the user goes "Back" to your page.
HI jscher2000, Thank you for the suggestions. I will try that out and get back to you. - Arunabh