Title: Cache all posts in a category
Last modified: March 24, 2020

---

# Cache all posts in a category

 *  Resolved [thegreatest1](https://wordpress.org/support/users/thegreatest1/)
 * (@thegreatest1)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/)
 * Hello,
 * I want to cache all posts in a specific category. I tries with /category/* in
   Force Cache URIs settings but it doesn’t work. Is there a way to fix this?
 * regards

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/#post-12579029)
 * Hi,
 * Do all these posts have same URL structure ?
 * e.g.
 * [https://domain.com/category-name/post1](https://domain.com/category-name/post1)
 * [https://domain.com/category-name/post2](https://domain.com/category-name/post2)
 * [https://domain.com/category-name/post3](https://domain.com/category-name/post3)
 * [https://domain.com/category-name/post4](https://domain.com/category-name/post4)
 * …and so on ?
 * if so , try use **category-name** in force cache setting.
 * may I know why you would need to do this ? because by default post is cacheable
   without any additional setup.
 * Best regards,
    -  This reply was modified 6 years, 1 month ago by [qtwrk](https://wordpress.org/support/users/qtwrk/).
 *  Thread Starter [thegreatest1](https://wordpress.org/support/users/thegreatest1/)
 * (@thegreatest1)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/#post-12579912)
 * Hi, no I have the plugin No Category Base activated, so it is: [https://domain.com/post1](https://domain.com/post1).
 * It is because I have memberpress and I cannot cache logged in users. I have tried
   ESI and it works but by forcing caching it gets a bit faster (the initial page
   load is faster).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/#post-12582604)
 * Hi,
 * I’m still little confused.
 * By default the LSCWP should cache the post , no matter what the category it is.
 * or you mean , you have that `No Category Base` , that breaks the caching ?
 * and if you use permalink , you should be able to remove the category in URL without
   additional plugin.
 * Best regards,
 *  Thread Starter [thegreatest1](https://wordpress.org/support/users/thegreatest1/)
 * (@thegreatest1)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/#post-12584277)
 * Yes but it doesnt cache logged in users. Ok Ill try without the plugin.
 * But if my domain is: `https://domain.com/post1.` How can I cash specific categories?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/#post-12587886)
 * Hi,
 * > it doesnt cache logged in users
 * LSCWP has option to enable private cache on login user.
 * > But if my domain is: [https://domain.com/post1](https://domain.com/post1). 
   > How can I cash specific categories?
 * You can not manually do that if there is no URL structure to differentiate it
   from other category , but like I said , by default every page should be cached
   by LSCWP already.
 * Please verify your HTTP header and see if it is cached or not.
 * Best regards,
 *  Thread Starter [thegreatest1](https://wordpress.org/support/users/thegreatest1/)
 * (@thegreatest1)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/#post-12588268)
 * Hello, thank you for your answers. I cannot enable private cache för logged in
   users because the plugin Memberpress doesn’t work with it enabled. so it only
   caches public pages and that is why i want to do it manully. Ive tried ESI also.
 * So if I change my permlink to [https://www.website.com/%category%/%postname%/](https://www.website.com/%category%/%postname%/)
   i will be able wo make it work, with this URI: /category/?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/#post-12588276)
 * Yes , that’s correct.

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

The topic ‘Cache all posts in a category’ is closed to new replies.

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

 * 7 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/cache-all-posts-in-a-category/#post-12588276)
 * Status: resolved