Deleting ProcessMaker's Compiled Cache
In order to speed up ProcessMaker, the interface dialogs and custom DynaForms are precompiled and saved in the compiled directory so they can be quickly displayed and reduce processing during runtime. If ProcessMaker is upgraded or its source code is changed, it is a good idea to clear ProcessMaker's compiled cache. Likewise, if strange problems begin occurring in ProcessMaker or DynaForms no longer work correctly, the compiled cache has probably been corrupted and needs to be cleared. The next time ProcessMaker is run, cache files for each interface dialog and DynaForm will be recreated when they are displayed.
If using version 1.2-3306 or earlier, the compiled cache can only be cleared by manually deleting the files in the compiled directory. From version 1.2-3862Beta on, there is a handy option to Clear Cache under the ADMIN menu.
Clear Cache with Graphical Interface
In the message box that appears, click on Accept to clear the compiled cache. Then a message will briefly appear under the menu bar stating "Info: All cache data was deleted."
Clear Cache Manually
ProcessMaker's compiled cache can be manually cleared by deleting the contents of the compiled directory.
Login as the root user (or the user with administrator privileges) and enter the following command in a terminal:
rm -Rf <INSTALL-DIRECTORY>/compiled/*
For example, if ProcessMaker is installed in /opt/processmaker, then:
rm -Rf /opt/processmaker/compiled/*
Open the Windows' File Explorer and go to <INSTALL-DIRECTORY>\compiled. If installed with the ProcessMaker Windows Installer, this directory is probably located at:
- c:\Program Files\ProcessMaker\apps\processmaker\compiled
If ProcessMaker was manually installed, then this directory is probably located at:
Then, delete the subdirectories inside the compiled directory.
Refresh the web browsers' cache
After clearing ProcessMaker's compiled cache, then refresh the temporary cache for web browsers which will access ProcessMaker, so they will display the new interface dialogs and DynaForms. In Internet Explorer, press F5. In Mozilla FireFox, press CTRL+F5.