Title: Cache query string
Last modified: December 18, 2020

---

# Cache query string

 *  Resolved [Karis](https://wordpress.org/support/users/askel45/)
 * (@askel45)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cache-query-string/)
 * Hi. I’m using a certain script to stop comment SPAM. However, it is not working
   due to quic.cloud ignoring query parameters. Here is what the developer recommended
 * “(tell LiteSpeed team) do not ignore query for path /wp-comments-post.php, in
   other words, must vary cache for this path based on query string parameter.”
 * The other solution was to replace quic.cloud with another CDN, which I do not
   want to do. Is there a way to solve this as the developer recommended?

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cache-query-string/#post-13810495)
 * Hi,
 * first of all , please provide the report number , you can get it in toolbox -
   > report -> click “send to LiteSpeed”
 * 1) if you disable QC , but only use LSCWP , it works ?
 * 2) please provide few example of the “query string” on wp-comments-post.php
 * 3) and please check the HTTP response header over request to wp-comments-post.
   php and see what it shows
 * Best regards,
 *  Thread Starter [Karis](https://wordpress.org/support/users/askel45/)
 * (@askel45)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cache-query-string/#post-13811077)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) [this is essentially what I aim to do](https://www.gulshankumar.net/stop-spam-comments-wordpress/).
   I hope it gives you an insight into what query string. The first part of the 
   previous message was ” I noticed you’re using Quic.Cloud CDN that is ignoring
   query string, that is preventing security measures added by the code…”
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cache-query-string/#post-13812881)
 * Hi,
 * then please go to cache -> exclude -> do not cache URI
 * put “wp-comments-post” and “45jpfAY9RcNeFP”
 * Best regards,
 *  Thread Starter [Karis](https://wordpress.org/support/users/askel45/)
 * (@askel45)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cache-query-string/#post-13816022)
 * It is working! Thanks.

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

The topic ‘Cache query string’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Karis](https://wordpress.org/support/users/askel45/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/cache-query-string/#post-13816022)
 * Status: resolved