Title: dev2345's Replies | WordPress.org

---

# dev2345

  [  ](https://wordpress.org/support/users/dev2345/)

 *   [Profile](https://wordpress.org/support/users/dev2345/)
 *   [Topics Started](https://wordpress.org/support/users/dev2345/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dev2345/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dev2345/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dev2345/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dev2345/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dev2345/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Super Cache] Start Page and Rejected User Agent](https://wordpress.org/support/topic/plugin-wp-super-cache-start-page-and-rejected-user-agent/)
 *  Thread Starter [dev2345](https://wordpress.org/support/users/dev2345/)
 * (@dev2345)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-start-page-and-rejected-user-agent/#post-1853907)
 * I solved the problem, i edited the $_SERVER[‘HTTP_HOST’], made a global variable
   and set in the config the host, what depends on the user agent.
 * Then I wrote some special rewrite rules what redirect the specific user agents
   to the correct supercache Folder.
 * But I’ve one question: I’ve seen that there were build some non supercache(wp-
   cache-xxxx.html) files in my wp-content/cache directory.
 * What are these files, when were they build, because were they build shouldn’t
   they are all supercache files?
 * PS: YES, I’ve mobile support turned off 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Super Cache] Start Page and Rejected User Agent](https://wordpress.org/support/topic/plugin-wp-super-cache-start-page-and-rejected-user-agent/)
 *  Thread Starter [dev2345](https://wordpress.org/support/users/dev2345/)
 * (@dev2345)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-start-page-and-rejected-user-agent/#post-1853885)
 * I’m using nginx as the webserver. The Mobile bowser are redirected directly to
   wordpress, an extra rule doesn’t serve these via mod rewrite.
 * The actual problem ist when I’ve rejected these user agent in supercache they
   will be cached with WP_Cache. I’m happy if you can modify this in a newer version.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Super Cache] Start Page and Rejected User Agent](https://wordpress.org/support/topic/plugin-wp-super-cache-start-page-and-rejected-user-agent/)
 *  Thread Starter [dev2345](https://wordpress.org/support/users/dev2345/)
 * (@dev2345)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-start-page-and-rejected-user-agent/#post-1853655)
 * Now all files of the rejected user Agent were cached by WPCache. This is what
   I got in the DEBUG-Logs:
 *     ```
       20:32:53 /permallink/to/post supercache dir: /srv/www/mydomain/wp-content/cache/supercache/www.mydomain.net/permallink/to/post/
       20:32:53 /permallink/to/post supercache dir: /srv/www/mydomain/wp-content/cache/supercache/www.mydomain.net/permallink/to/post/
       20:32:53 /permallink/to/post Served page from supercache file using PHP.
       20:32:55 /wp-content/plugins/wp-postviews/wp-postviews.php?_=1294605174943&postviews_id=157361 supercache dir: /srv/www/mydomain/wp-content/cache/supercache/www.mydomain.net/wp-content/plugins/wp-postviews/wp-postviews.php/
       20:32:55 /wp-content/plugins/wp-postviews/wp-postviews.php?_=1294605174943&postviews_id=157361 supercache dir: /srv/www/mydomain/wp-content/cache/supercache/www.mydomain.net/wp-content/plugins/wp-postviews/wp-postviews.php/
       20:32:55 /wp-content/plugins/wp-postviews/wp-postviews.php?_=1294605174943&postviews_id=157361 No wp-cache file exists. Must generate a new one.
       20:32:55 /wp-content/plugins/wp-postviews/wp-postviews.php?_=1294605174943&postviews_id=157361 In WP Cache Phase 2
       20:32:55 /wp-content/plugins/wp-postviews/wp-postviews.php?_=1294605174943&postviews_id=157361 Setting up WordPress actions
       20:32:55 /wp-content/plugins/wp-postviews/wp-postviews.php?_=1294605174943&postviews_id=157361 Supercache caching disabled. Only using wp-cache. Non empty GET request.
       20:32:55 /wp-content/plugins/wp-postviews/wp-postviews.php?_=1294605174943&postviews_id=157361 URI rejected. Not Caching
       ```
   
 * First the WP-Cache Files are Files where I can see the mobile view, then the 
   cached files are files where I can see the Desktop view.
 * Can you explain me why the rejected User Agents are cached with WP Cache, and
   why I can stop that?
 * And another general Question: When is the supercache used, when the WP-Cache?

Viewing 3 replies - 1 through 3 (of 3 total)