-
1. Re: Extension caches iframe content
Hallgrimur Bjornsson Jul 8, 2014 6:47 AM (in response to JeffW.)Hi,
You should be able to disable the cache entirely - per extension using this Chromium parameter: -disable-application-cache
In your manifest file, add:
</CEFCommandLine
Best regards,
Hallgrimur
--
Hallgrimur Th. Bjornsson | CCE Product Manager - Enterprise Dashboard - Extensibility| Adobe | Tel: +44 (0) 1314582787
-
2. Re: Extension caches iframe content
weiguo@adobe.com Jul 8, 2014 6:11 PM (in response to JeffW.)Jeff,
What would happen if you load your HTML (with iframe) in Chrome browser? Does Chrome cache iframe content?
-
-
4. Re: Extension caches iframe content
JeffW. Jul 10, 2014 3:32 AM (in response to JeffW.)sorry, my previous post was based on testing it incorrectly.
Adding the --disable-application-cache does NOT work for me in the extension.
Files (i only tested js files, but with loading different html pages/urls) are still being cached. I see the old file when I look it up in the Resources of the cef remote debugger.
When I click the file, which takes me to the real url's source, I see the updated file.
I also tested loading the same page in an iframe in the browser. There's no problem there,
it updates fine.
-
5. Re: Extension caches iframe content
Zhihong Chen Jul 11, 2014 3:40 AM (in response to JeffW.)Hi Jeff,
Could you please try adding “nodejs-disabled="true"” into your iframe label and check this issue again (Just a try)?
CEP integrates Node.js and it conflicts with some iframe function. We can disable Node.js in iframe to fix this kind of error:
Old Code Example: <iframe id="testID"></iframe>
New code Example: <iframe id="testID" nodejs-disabled="true"></iframe>
-
6. Re: Extension caches iframe content
JeffW. Jul 11, 2014 3:54 AM (in response to Zhihong Chen)Thanks Zhihong,
I already tried that, and I've just tried it again,
but js file is still being cached,
even after re-opening the panel and also restarting Premiere.
-
7. Re: Extension caches iframe content
Zhihong Chen Jul 16, 2014 11:45 PM (in response to JeffW.)Hi Jeff,
Thank you for reporting this. I made a simple test extension (shared here), set up a local server to try this, but failed to reproduce this error. In file CEP_HTML_Test_Extension-5.0\html\HTMLFeatures.html, there is a <iframe> label that points to web page index.html (in folder Server_pages). Index.html contains a JavaScript file myscript.js which outputs current time to front page.
Every time I reload the HTML Test extension, current time could be updated in the “HTML Features” page. My platform is Windows7 64-bit.
Can these test extension and server pages simulate your issue? If so, could you please try it on your local machine and check whether we see the same result or not? Thanks!
PS. CEP cache path is:
• Windows: C:\Users\USERNAME\AppData\Local\Temp\cep_cache\
• Mac: /Users/USERNAME/Library/Logs/CSXS/cep_cache
There is no CEP API to clear cache now.



