max-mapper / max-mapper/menubar
Remote url is getting cached
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.8k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
Description
The menubar is not updating the changes from the remote url. I have a remote website shown in the menubar but looks like it is getting cached. What should i change to prevent url caching?
Steps to Reproduce the Problem
- .Use the below attached code.
const mb = menubar({tray,icon: iconPath2 ,index:'https://example.com',preloadWindow:true,showDockIcon:false,showOnAllWorkspaces:false,
browserWindow: {
transparent: true,
width: 320,
height: 400,
backgroundColor: "#00000000"
}});
Expected Behaviour
The content should change as per the new data from the url
Actual Behaviour
The content is not changing and keeping it the same what was before. It only refreshes once i relaunch the app.
Specifications
- Menubar version: 9.1.1
- Platform: MacOS 11.5.2
- Electron version: 17.0.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the provided menubar configuration on macOS 11.5.2 using Electron 17.0.0, then investigate how the remote index URL is loaded and refreshed. Done means updated remote content appears without relaunching the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100