| Summary: | [Search]Remove the file content caching in replace preview | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | libing wang <libingw> |
| Component: | Client | Assignee: | libing wang <libingw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | john.arthorne, ken_walker, simon_kaegi, susan |
| Version: | 0.4 | ||
| Target Milestone: | 0.4 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 369263, 369460 | ||
| Bug Blocks: | |||
|
Description
libing wang
Aside from removing the preview cache, I am also considering rendering the search result faster. Actually the server response for the search result is not bad. The bad part is that I have to request file meta data for each file, where there are 2 reasons: 1.To render the location column I have to know the parent location. 2.To render a stale file without match, I have to know the file times-tamp. A better solution would be server giving back those data but for now we should think about alternatives like: Render the files right away. And request meta data after the explorer renders all file items. @Susan, I think currently I can just render file items as normal and location as empty at very beginning. Then in each response callback of the meta data, I modify the cells individually.(stales becomes grey and location cells as real links) the result page loading speed is improved in bug 369460. Ready to remove the cache in preview now. fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=5a0930a314c07fe217e4df48a2b8a6dd53a3e696. The loading speed of replace is much faster. |