Point Posted March 2, 2018 Share Posted March 2, 2018 I save a pdf file in folder Files. the pdf file is a manual book. this file is called by client with pdf viewer. when I replace it with a new file with the same name (because any revision of content), the pdf file is still displaying the old content, any suggestion? i used IIS versi 8.5. Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted March 2, 2018 Share Posted March 2, 2018 It is the browser cache. Add something like timestamp to the URL: PathToMyDoc/MyDoc.pdf?ts=2018-02-03-08-16 Quote Link to comment Share on other sites More sharing options...
Point Posted March 2, 2018 Author Share Posted March 2, 2018 I've cleaned up all the history on the browser, I have tried it on other computers but the result is the same, whereas the pdf file is the first time in open Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted March 2, 2018 Share Posted March 2, 2018 After cleaning the browser cache it should work. Have you tried with the timestamp? For me it works. Quote Link to comment Share on other sites More sharing options...
Point Posted March 2, 2018 Author Share Posted March 2, 2018 hi oliver morsh, what the format of timestamp should i use, yyyy-MM-dd-hh-nn or i can use the other format or depend on regional setting ? is betwen name file dan timestamp separated with '?' Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted March 2, 2018 Share Posted March 2, 2018 The format doesn't matter. The "?" must be there, Quote Link to comment Share on other sites More sharing options...
Point Posted March 2, 2018 Author Share Posted March 2, 2018 it work, thanks you very much, Oliver Morsch Quote Link to comment Share on other sites More sharing options...
Point Posted March 8, 2018 Author Share Posted March 8, 2018 recurring problems. although i've set timestamp. is the problem in IIS, Browser or unigui ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 10, 2018 Share Posted March 10, 2018 Hi, 1. As mentioned above, clear your browser's cache 2. Can you try with FormatDateTime too: ... + FormatDateTime('ddmmyyyyhhmmss', Now); http://forums.unigui.com/index.php?/topic/7343-cache/&do=findComment&comment=37405 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.