Интеграция с другими приложениями > Интеграция Creo Parametric с Windchill > PDM Actions > Refreshing the Cache
  
Refreshing the Cache
You can use the workspace Synchronize action to explicitly refresh all workspace objects that have become stale in the cache due to more recent changes made on the server by another user. An explicit synchronization with the server would be required to communicate those changes to the local cache.
There are three types of synchronization of cached information with the server: implicit, background and explicit synchronization.
Implicit synchronization occurs when you click the refresh icon , or whenever the client makes a request to the server (Check Out, Upload, and so on), and refreshes information in the following areas:
Change to the status "Checked out by you" in this workspace
Addition of an object into this workspace
Removal of object from this workspace
Background synchronization occurs automatically to refresh the commonspace changes in three minutes for after any PDM actions. Additionally, it also updates the workspace for removed and re-added access of documents, when performed to refresh commonspace changes. Background synchronization refreshes information in the following areas.
Update of attributes on the object’s master version in the database
Update of Lifecycle state and out of date status
Change to the status "Checked out by another user", "Checked out by you in another workspace"
Change in access (Includes modified, added and removed access)
Explicit synchronization occurs when you select Tools > Synchronize. Explicit synchronization refreshes information in the following areas.
Everything that implicit synchronization synchronizes (mentioned previously)
Update of File Name in the local cache
Change in access (Includes modified, added and removed access)
Server preferences and any other server-side changes made by Site Administrator
* 
Changes made in the commonspace, to the objects in active workspace can be updated frequently or delayed using the preference Update commonspace changes in background. Some information like an object's checked out state, name and state can be changed by another user outside of the workspace. These types of changes must be updated to your active workspace to see the new, up-to-date values.
To synchronize the workspace with the server:
1. With no workspace table rows selected, select Tools > Synchronize.
2. The system updates all of the information about the workspace and the objects in the workspace with the latest changes made on the server.
The preference, Workspace > Access rights refresh interval, allows you to set the interval for how often a comprehensive workspace refresh is performed (default minimum value is 1800 seconds) in the background. After the specified interval has elapsed, the comprehensive workspace refresh is performed. During each comprehensive refresh, the system checks for any recent access rights changes. If any access change of workspace documents is found in the server, it will immediately synchronize the workspace.
* 
Using the Synchronize action, you can synchronize a few selected CAD documents or the entire workspace, by not selecting any documents. Synchronizing the entire workspace also handles any CAD documents access changed in the server. If you select a CAD Document that is no longer accessible on the server, it will result in synchronizing the entire workspace.