Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2010
    Posts
    10

    Default Need a function to clear cPanel cache.

    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.

  2. #2
    cPanel Staff cPanelMatt's Avatar
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    409

    Default

    cPanel has quite a few caches so I'm curious what in specific you are needing to clear and why.
    Matt Dees
    Integration Developer
    cPanel, Inc.
    cPanel Integration Blog

  3. #3
    Member
    Join Date
    May 2008
    Posts
    30

    Default

    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 :-)

Similar Threads & Tags
Similar threads

  1. How to clear dns cache for windows vista
    By dbadwal in forum New User Questions
    Replies: 4
    Last Post: 01-21-2010, 09:35 PM
  2. Clear cPanel Cache
    By Timmah in forum New User Questions
    Replies: 3
    Last Post: 01-19-2010, 07:59 AM
  3. eaccelerator Cache - Easy way to clear out?
    By orty in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-22-2009, 01:44 PM
  4. Cache couldn't make dir './cache'.
    By anton_latvia in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-06-2008, 05:24 AM
  5. Clear File Usage Cache
    By andrewj in forum New User Questions
    Replies: 5
    Last Post: 05-16-2007, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube