obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
59.81k stars 7.93k forks source link

browser cache problem #10322

Open superchaos opened 7 months ago

superchaos commented 7 months ago

Operating System Info

macOS 14

Other OS

No response

OBS Studio Version

30.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

no need

OBS Studio Crash Log URL

No response

Expected Behavior

When accessing a page in the OBS browser that contains iframes, there is an issue with static resource caching. The cache clearing button does not correctly clear the cache. Furthermore, I would like to have all console logs completely output to the log for easier problem identification.

Current Behavior

  1. web page with iframes,and iframes load complex page, for example a.html
  2. change a.html,for example a.js of a.html
  3. maybe a.js not change, because no console log,but a.html doesn't seem to change, i guess a.js not change

Steps to Reproduce

  1. web page with iframes,and iframes load complex page, for example a.html
  2. change a.html,for example a.js of a.html
  3. maybe a.js not change, because no console log,but a.html doesn't seem to change, i guess a.js not change

Anything else we should know?

maybe browser console log should append to obs log, in order to have more information?

Wiethoofd commented 7 months ago

You can set the OBS launch option --remote-console-port=4444 and visit http://localhost:4444 to do browser source debugging and see the debug logs there. (This is done afaik to reduce the amount of browser source error/console spam to the OBS logs).

superchaos commented 7 months ago

You can set the OBS launch option --remote-console-port=4444 and visit http://localhost:4444 to do browser source debugging and see the debug logs there. (This is done afaik to reduce the amount of browser source error/console spam to the OBS logs).

cache refresh button for broswer not working on mac mini m2,i try to delete the cache directory,everything go normal. at least iframe page cache not clear by cache refresh button