KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Why does my client cache folder have two sets of plugins?
PRODUCT: 4D | VERSION: 11.4 | PLATFORM: Mac & Win
Published On: May 21, 2009

In the context of 4D Server, plugins can be placed at two locations:

  1. In the plugins folder located next to the database.

    Windows & Mac OS X Example:
    mydatabase.4dbase\plugins\myplign.bundle

    In this situation, the plugin on the client machine would be located in the "Plugins\" directory of the client cache folder:

    WinXP/Win2K:
    C:\Documents and Settings\Username\Local Settings\Application Data\4D\mydatabase_x_x_x_\plugins\myplugin.bundle

    Vista/Win2K8:
    C:\Userss\Username\AppData\Local\4D\mydatabase_x_x_x_\plugins\myplugin.bundle

    Mac OS X:
    :Users:username:Library:Caches:4D:mydatabase_x_x_x:plugins:myplugin.bundle


  2. In the plugins folder located next to the 4D Server application (placed inside the package on Mac OS X).

    Windows Example:
    C:\Program Files\4D\4D v11 SQL Release 4\4D Server\Plugins\myplugin.bundle

    Mac OS X Example:
    :Applications:4D:4D v11 SQL Release 4:4D Server.app:Contents:Plugins:myplugin.bundle

    In this situation, the plugin on the Client machine would be located in "4D\Plugins\" directory of the client cache folder:

    WinXP/Win2k3:
    C:\Documents and Settings\Username\Local Settings\Application Data\4D\mydatabase_x_x_x_\4D\plugins\myplugin.bundle

    Vista/Win2k8:
    C:\Users\Username\AppData\Local\4D\mydatabase_x_x_x_\4D\plugins\myplugin.bundle

    Mac OS X:
    :Users:username:Library:Caches:4D:mydatabase_x_x_x:4D:plugins:myplugin.bundle

It is recommended that you remove any unneeded plugins from these locations as they will be automatically copied to the client machine; if the plugins are not needed then that is wasted bandwidth/storage.