zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Images are getting cached on deleting their source #1244

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. OPen page with images
2. Delete the source in the code
3. Observe the page

What is the expected output? What do you see instead?
The image is not removed. We see a broken image

What version of the product are you using? On what operating system?
CEF3 1364 

Please provide any additional information below.

Original issue reported on code.google.com by bcdiv...@gmail.com on 3 Apr 2014 at 2:54

GoogleCodeExporter commented 9 years ago
It sounds like you're modifying an html page but getting the cached version 
instead of the modified version. You need to use the 
CefBrowser::ReloadIgnoreCache method or set no-cache headers on your response.

Original comment by magreenb...@gmail.com on 3 Apr 2014 at 3:16