Title: Why Does SO Remove Query Strings? (Uncommanded)
Last modified: January 25, 2024

---

# Why Does SO Remove Query Strings? (Uncommanded)

 *  Resolved [generosus](https://wordpress.org/support/users/generosus/)
 * (@generosus)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/why-does-so-remove-query-strings-uncommanded/)
 * **Good Day,**
 * It appears Speed Optimizer (SO) removes the query strings from the files shown
   in the JS Combine and JS Deferral exclusion list. Why?
 * **Details:** [https://prnt.sc/Gd__3EG5WqE9](https://prnt.sc/Gd__3EG5WqE9)
 * The above sometimes creates issues with other performance plugins which utilize
   the entire file name (with query strings). If using two performance plugins, 
   for example, jQuery could be cached twice (the file with and without query strings)
   and create page display issues downstream.
 * **Note: **Removing query strings from files is a performance recommendation that
   was deprecated a long time ago. SO needs to be updated in several areas to reflect
   this.
 * **Details:** [Query Strings Deprecated](https://perfmatters.io/docs/remove-query-strings-from-static-resources/)
 * Details:
 * Thank you.

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

 *  Plugin Support [Vladimir Trandev](https://wordpress.org/support/users/vtrandev/)
 * (@vtrandev)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/why-does-so-remove-query-strings-uncommanded/#post-17375190)
 * Hello [@generosus](https://wordpress.org/support/users/generosus/),
 * You can leave the particular setting disabled and still benefit from the rest
   of the features offered by our plugin.
 * However, according to the article that you have provided, it is also noted that
   it is up to the user to decide what to use based on his needs.
 * Have in mind that using more than one optimization plugin on your application
   is not recommended since this could lead to potential conflicts.
 * Regards,
 * Vladimir
 *  Thread Starter [generosus](https://wordpress.org/support/users/generosus/)
 * (@generosus)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/why-does-so-remove-query-strings-uncommanded/#post-17375833)
 * Thanks, Vladimir. You missed the point. Speed Optimizer’s code (exclusions list)
   should not automatically remove the query strings. They should be removed only
   if the user selects the plugin settings option “[Remove Query Strings from Static Resources.](https://prnt.sc/tl8UMvbhi2Hs)”
 * Perhaps your Dev Team can look into this for the next, convenient plugin update.
   If we missed something, please advise.
 * FYI, we’re using two performance plugins while ensuring enabled features do not
   overlap. 🙂
 * Thank you!
 *  Thread Starter [generosus](https://wordpress.org/support/users/generosus/)
 * (@generosus)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/why-does-so-remove-query-strings-uncommanded/#post-17377859)
 * **Temporary Solution:**
 * We found a workaround. Using a code snippet, we deregistered jQuery from WordPress(
   picked up by SO) and reregistered it via [cdnjs jQuery](https://cdnjs.com/libraries/jquery).
 * It would be great if you guys can revisit (and possibly fix) what we reported
   above prior to your next plugin update.
 * Thank you.

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

The topic ‘Why Does SO Remove Query Strings? (Uncommanded)’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

## Tags

 * [query strings](https://wordpress.org/support/topic-tag/query-strings/)

 * 3 replies
 * 2 participants
 * Last reply from: [generosus](https://wordpress.org/support/users/generosus/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/why-does-so-remove-query-strings-uncommanded/#post-17377859)
 * Status: resolved