Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by

Remove query strings from static resources

Most proxies, most notably Squid up through version 3.0, do not cache resources with a "?" in their URL even if a Cache-control: public header is present in the response. To enable proxy caching for these resources, remove query strings from references to static resources, and instead encode the parameters into the file names themselves.


I ran an online performance test against my website and was give the above suggestion to improve performance. Does this make sense  and Is there anything we can do ? 

Q2A version: 1.7.4

1 Answer

+2 votes
That advice isn't true for regular web browsers so doesn't apply for the vast majority of users. And it sounds like it's no longer true for Squid either.

Note: even if the file is not cached by the proxy, it will still be cached in the user's browser, so there is not really any problem.

The reason for the query string is so that when Q2A is updated, we can change the query string so users get the updated file.