Jump to content

Please remove query strings from static resources


The Old Man

Recommended Posts

Hi, please can you add an option to remove query strings from the URLs produced by IPS 4 and if necessary build them into the url instead?

There are about 2 dozen that get created, from CSS and JS files. Some are possibly even unnecessary, like:

ht*ps://example.com/bimchatbox/interface/buzz/buzz.min.js?v=e75f20f266
ht*ps://example.com/applications/core/interface/howler/howler.core.min.js?v=e75f20f266

Suggested solution from GTMetrix:

Quote

Resources with a "?" in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:

Obviously it won't help with external urls like Amazon Affiliates links, but the bulk are generated by IPS.

Perhaps one of the next small updates could focus in part on Pagespeed and performance recommendations and best practice, such as these bygone era query strings, and the missing image dimensions for uploaded attached images, image gallery carousels etc.

Many thanks!

Link to comment
Share on other sites

  • Management

Actually the query string is there because it's a cache-buster. It changes when you reload a theme or JS change or something like that.

If you configure your CDN to recognize the query strings on those resources it will work properly.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...