How to disable EACCELERATOR, OPCACHE or XCache?
- views 1303
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.
Users (0) 0 of 5