Search code examples
delphitwebbrowsergmlib

How to clear cache in TWebBrowser in Delphi GMLib?


I'm using TGMLib. I need to reload file in TGMGroundOverlay. File on disk has changed but name is the same. TWebBrowser in TGMMap probably keep it on cache and I need to clear cache in TWebBrowser. Is any possibly to do that?

Best Regards! Patryk


Solution

  • I solve the problem. Answer of cache-busting and GolezTrol was helping.

    The best solution is change the filename and change it on URL (add something like index/id)

    filename_index.png

    Thank you! Best regards!