maqetta/maqetta — Issue #1404: Cut down on `findResource` and `listFiles` requests to server
Author: jhpedemonte
Created: 2011-12-19 22:14:03+00:00
State: open
Labels: Priority High, Server

Goal: Reduce number of server requests in order to improve performance.

We need to cut down on the number of unnecessary calls to `findResource` and `listFiles`.

Ideally, we should treat the workspace as a **write-through** cache. At startup, we load a directory listing of the whole workspace (one request), which removes the need for all the subsequent `listFiles` requests (which seem to go directory-by-directory for some reason).

Cutting down on `findResource` may be difficult, since I believe it already works as a write-through cache: first call loads from server, subsequent calls (unless file is changed) are loaded from the "cache". (But I may be wrong here.)

@childsb @peller