• How to disable EACCELERATOR, OPCACHE or XCache?

    • views 1213

    There is a problem with our web-site - any changes we make to the site aren`t displayed on the front-end. To see them, you need to press ctrl + f5 or just f5 every time. Developer said that the engine does not cache, and it needs to disable one of their hosting eAccelerator settings, OPcache or Xcache. How do I do it correctly?

    Solutions (1)
    In the root of the site create a file with name 1.php and with content <php phpinfo ();??> Then open this link in a browser http: //imya_sayta/1.php and in output information to search for the words "eaccelerator", "apc" , "xcache". If something is found and displayed as the "Enabled", you can, for example, in the .htaccess file type to turn off the accelerators with code - # APC: php_admin_flag apc.enabled Off # Eaccelerator php_admin_value eaccelerator.enable 0 # Xcache php_admin_value xcache.cacher Off php_admin_value xcache.stat Off php_admin_value xcache.optimizier Off The same commands can be assigned to the apache config, but in the case of web hosting that can be problematic.
    Answers (3)

    According to the description, the browser caches itself on your side. If it is a CMS-system you can try to disable the cache in the system, or change the conclusion of friendly links - replace extension from html to something else, for example php.

    Hi! The easiest way ask your hosting provider technical support. Specialists can solve these problems very quickly.
    Hi, The configuration of the server can cache static content. The right decision in this case is to contact the hosting provider Help Desk.
We do our best for you!
Rate the article
or
Tell the world about it

Users (0) 0 of 5

  • In order to provide you with the best online experience this website uses personal data (cookies, IP, email, photo, name, website, etc). By using our website, you agree to our use of your personal data. More info we get commissions from the hostings, but our ratings are honest and the reviews are real.
  • Important

    We are in BETA. We need your help!

    Anonymous reviews are not allowed!

    Every month we add $50 to the account of a randomly selected user.*

    In addition, you will receive a free permanent link to your site after you leave an honest review!