Title: Uncached Posts (&#039;wp-&#039;)
Last modified: August 30, 2016

---

# Uncached Posts ('wp-')

 *  [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * (@ecdltf)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/uncached-posts-wp/)
 * Hi,
 * I noticed that a handful of posts didn’t get cached, no matter what I do. After
   racking my brain for an hour or so I found out that the slugs of the concerned
   posts all beginn with ‘wp-‘ (yes, ‘wp’ stands for ‘WordPress’, since these are
   WordPress-related articles…).
 * A search in your code brought this line to light:
 *     ```
       if (!$cache_stop && substr($_SERVER['REQUEST_URI'], 0, strlen($home_root) + 4) == ($home_root . '/wp-')) {
                   $cache_stop = true;
               }
       ```
   
 * …which matches very neatly against 8 of my posts 🙂
 * I understand that the substring matching is less expensive than a regex, so I’ll
   probably just change the slugs from ‘wp-‘ to ‘wordpress-‘.
 * However it would have been _nice_ to see a warning about that … maybe in the 
   FAQ here or on your Official Page?
 * Anyway, thanks for the very well working and lightweight plugin!
 * Tom
 * PS: I’ve just [seen](https://wordpress.org/support/topic/posts-with-wp-in-post_name-are-not-cached?replies=4)
   that I’m not the first one to step into that pitfall.
 * [https://wordpress.org/plugins/hyper-cache/](https://wordpress.org/plugins/hyper-cache/)

The topic ‘Uncached Posts ('wp-')’ is closed to new replies.

 * ![](https://ps.w.org/hyper-cache/assets/icon-256x256.png?rev=3452725)
 * [Hyper Cache](https://wordpress.org/plugins/hyper-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hyper-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hyper-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/hyper-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hyper-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hyper-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [exception](https://wordpress.org/support/topic-tag/exception/)
 * [incompatibility](https://wordpress.org/support/topic-tag/incompatibility/)
 * [post-name](https://wordpress.org/support/topic-tag/post-name/)
 * [slug](https://wordpress.org/support/topic-tag/slug/)

 * 0 replies
 * 1 participant
 * Last reply from: [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/uncached-posts-wp/)
 * Status: not resolved