Closed Bug 46183 Opened 25 years ago Closed 15 years ago

xul cache should have a pragma no-cache

Categories

(Core :: XUL, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: dougt, Assigned: waterson)

References

Details

(Keywords: memory-footprint, perf, Whiteboard: [nsbeta3-])

There are some xul dialogs that are only used once in the entire product. Most of the time the developer of this xul knows this. A case of this is the profile picker. It is run once, and never again used. There is really no reason to cache its prototype. I was thinking that we should have a way to allow the developer to hint to any cacheing subsystems that the current xul files are not to be cached.
Keywords: footprint, perf
Taking bug. N.B. we should analyze footprint after making XUL cache more granular (bug 46129) and implementing memory flushers (or whatever) on the cache. These may obviate the need for doing this.
Status: NEW → ASSIGNED
Target Milestone: --- → M18
good idea. either allow for this in the XUL itself, or we should allow for it programatically so we can deal w/ the instances we *know* will be singletons.
Keywords: nsbeta3
Whiteboard: [nsbeta3+]
hyatt dealt with the important issue here, which was getting rid of extra space occupied by the one-time-only profile dialogs. We now flush the XUL cache once we load the first profile. Moving to FUTURE.
Target Milestone: M18 → Future
...and making nsbeta3-
Whiteboard: [nsbeta3+] → [nsbeta3-]
Blocks: 104400
Keywords: nsbeta3
does this only affects xul in chrome:// or everywhere?
yes, this only affects XUL in chrome://
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
this hasn't been looked at for 6+ years. marking wontfix.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.