Clearing Cached Data: $cache

Lucity caches certain data to make lookups faster and to reduce the load on the database server. This includes things like pick list values, field properties, as well as others.

The REST APIs are stateless web service applications. Restarting the app pool will not upset current users other than causing a very small delay the next time a request is made. However, restarting the app pool is not always realistic and is not possible directly from a client application.

It is possible to force a cache to clear on the REST API server from a client application using the $cache keyword and the DELETE method.

DELETE http://restapi.lucity.net/gbaMS/Work/WorkOrders.svc/$cache

See Also

Special Functions

Getting Record Counts: $count

Getting pick lists: {PropertyName}/ and {PropertyName}/$count

Caching support on lookups

Special lookups

Getting a new empty object: $new

Getting metadata: $fields

Discoverability

Document attachments, uploads, downloads

Working with Existing Filters: $filters and $myfilters

Errors

Commands

Tools

Warnings and Conflicts

Getting live updates based on property changes made by an end user

Secure Fields

ObjectCanBeEditied,ObjectCanBeDeleted

SQL Injection Considerations