Hello....
I want to know whether there is any function in xml api for clearing the cPanel cache. Please tell how can I create a code for clearing the cPanel or WHM cache in a period of time.
Please help.
Hello....
I want to know whether there is any function in xml api for clearing the cPanel cache. Please tell how can I create a code for clearing the cPanel or WHM cache in a period of time.
Please help.
cPanel has quite a few caches so I'm curious what in specific you are needing to clear and why.
I would suggest that if you find yourself wanting to clear a cache, it's probably because you're doing something manually (such as editing a configuration) file, instead of using the cpanel API to do it.
If there is an API function to do what you need, always use it first, before editing a file with your code. This will ensure that any caches are updated automatically :-)