• How do i filter out WP admin from the apc cache?

    apc.filters=”apc|bloggrop|wp-admin|wp-cache-config”

    like that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Why would you want to filter out wp-admin from apc? If you set apc.stat to 1 (the default setting) it will check for a newer version of the file before it serves the cached version.

    Thread Starter leisegang

    (@leisegang)

    when i try to create a link to a menu in wp-admin the link is added to the menu.

    when i save the link disappears..

    i think it can be APC.

    Any other guesses?

    Thread Starter leisegang

    (@leisegang)

    2013/04/06 12:39:25 [error] 1139#0: *3111104 FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in wp-admin/nav-menus.php on line 315” while reading response header from upstream, client: IP, server: bloggbyen.com, request: “POST /wp-admin/nav-menus.php HTTP/1.1”, upstream: “fastcgi://unix:/tmp/php-cgi.sock:”, host: “domaincom”, referrer: “https://domain.com/wp-admin/nav-menus.php?action=edit&menu=13142”

    any guess on this?

    i use:
    nginx
    php-fpm

    Try this in apc.ini:

    apc.filters = "-(.*apc\.php)|(.*/wp-admin/.*\.php)|(.*/phpmyadmin/.*\.php)"
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘APC cache filter’ is closed to new replies.