Opened 16 years ago

Closed 16 years ago

#681 closed enhancement (fixed)

Implement caching for DESCRIBEFEATURESCHEMA

Reported by: ksgeograf Owned by: ksgeograf
Priority: low Milestone:
Component: Maestro Version:
Severity: trivial Keywords:
Cc: External ID:

Description

As reported by Maskim, RuntimeMap generation can benefit greatly from caching the results of the DESCRIBEFEATURESCHEMA call. This is in addition to the caching proposed in the Rfc's. This enhancement will prevent large xml documents from being transmitted back and forth.

Change History (4)

comment:1 by ksgeograf, 16 years ago

Status: newassigned

comment:2 by zspitzer, 16 years ago

Can you include a method to flush this cache?

comment:3 by ksgeograf, 16 years ago

Yes. Initially, I will provide a local cache for the runtime map generation. I will then make a flag that keeps this cache on the connection. And finally a method to explicitly clear the cache.

comment:4 by ksgeograf, 16 years ago

Resolution: fixed
Status: assignedclosed

I have now added three methods (r3305): GetFeatureSourceSchema GetFeatureSourceDescription ResetFeatureSourceSchemaCache

The two first methods try to cache as much information as possible. The runtime map generation has been updated to call these methods.

By keeping the other methods as direct connections, it is possible to choose between cached and non-cached calls.

Note: See TracTickets for help on using tickets.