Title: Disable adding (JavaScript) Query on Jetpack related posts
Last modified: October 12, 2022

---

# Disable adding (JavaScript) Query on Jetpack related posts

 *  Resolved [viktorhanacek](https://wordpress.org/support/users/viktorhanacek/)
 * (@viktorhanacek)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/disable-adding-javascript-query-on-jetpack-related-posts/)
 * Hello,
 * When I click on any of the related posts shown by JetPack, the Request URL is
   shown with an additional query string such as `?relatedposts_hit=1&relatedposts_origin
   =4959&relatedposts_position=0` added by javascript.
 * The problem is that if “?” is in url, caching plugin is loading it live from 
   the server so every time you click on any related post, you’re loading a “slow”,
   live, uncached version of the page.
 * Same problem is discussed here ([https://wordpress.org/support/topic/query-on-jetpack-related-posts/](https://wordpress.org/support/topic/query-on-jetpack-related-posts/)).
 * Can you provide any code snippet to disable this function?

Viewing 1 replies (of 1 total)

 *  [Daniel](https://wordpress.org/support/users/ihenetudan/)
 * (@ihenetudan)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/disable-adding-javascript-query-on-jetpack-related-posts/#post-16092598)
 * Hi there,
 * I understand your concerns. Indeed, query parameters in URLs usually nullify 
   the cache for the page in most caching systems. That query string is crucial 
   to how the Related Posts feature works and you might as well consider using a
   different related posts solution instead of disabling that.
 * If you’d prefer we find a way to get things working without using GET query parameters,
   please [open an issue in GitHub](https://github.com/Automattic/jetpack/issues/new/choose).
 * Many thanks!

Viewing 1 replies (of 1 total)

The topic ‘Disable adding (JavaScript) Query on Jetpack related posts’ is closed
to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel](https://wordpress.org/support/users/ihenetudan/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/disable-adding-javascript-query-on-jetpack-related-posts/#post-16092598)
 * Status: resolved