Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] Why do admin visits generate wp-cache-xxxx files?

  • Resolved Joost Schuur


    I understand the principle of SuperCache, in that it generates static files that are served to users who aren’t logged in or have not left a comment, but when I connect to the site while logged in as the WordPress admin, why does this generate files in wp-content/cache directory in the format wp-cache-xxxxx? They too contain ‘Cached page generated by WP-Super-Cache on’ in the footer.

    SuperCache seems to be doing it’s thing just fine on my site ( Non logged in users trigger the creation of static files under the usual hostname and URL slug based filenaming convention in the supercache folder and are then used for subsequent visits. I’m running nginx, and have the appropriate rewrite rules enabled for that web server (from I just assumed that logged in users wouldn’t generate any files and wanted to make sure all is going as designed here.

    Side note: The header on the settings page reads ‘Mod rewrite may not be installed!’. That’s true of course, since I’m using nginx, but I have the appropriate rewrite settings for my ngix.conf applied, so everything should be alright, correct? The plugin simply can’t detect the nginx config and that’s why the warning?

    Everything seems to be working. I even modified one of the static files from the supercache folder manually and the change correctly appeared when I refreshed the page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Donncha O Caoimh


    Read the readme.txt, it’s the difference between anonymous users and users with cookies set who are known.

    Everything should be ok, ignore the mod_rewrite warning. It’s handholding for those who may not know about it.

    Glad it’s working ok, especially with nginx 🙂

    I didn’t see any explicit reference to SuperCache creating wp-cache-xxxxx files for admin users, but I’ll take your word for it that it’s intended behavior. There’s some comments in the FAQ section about ‘WP-Cache vs Supercache files’, but no specific comments about logged in users.

    Are you saying that logged in users fall back to another caching mechanism that generates these files?

    Plugin Author Donncha O Caoimh



    Hi there Donncha, let me ask you WHY another caching mechanism is in place to generate the files for logged in users. If I UNCHECK “Don’t cache pages for known users.” the pages will still be cached using that different mechanism?

    Plugin Author Donncha O Caoimh


    Kent – because supercache files aren’t cached with the login info/cookie of the user as the key to the cache file. Only anonymous users get supercache static files.

    Yes, every user could get supercache files but it’s not worth it IMO as it wouldn’t be as flexible and would make the plugin even more complicated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Super Cache] Why do admin visits generate wp-cache-xxxx files?’ is closed to new replies.