How to Remove the query string and encode the parameters into the URL

by 4 replies
6
This is driving me kind of crazy, I searched google and still don't really understand how to do this. I'm trying to speed up my site and I'm getting this warning from speed tests

"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."

So let's say I had this

http://mysite.com/wp-content/themes/...-bg.jpg?9d7bd4

How would I go about encoding the parameters into the file name?

Thanks
#main internet marketing discussion forum #encode #parameters #query #remove #string #url
  • Hi,

    I don't know the answer to your question unfortunately but Google have their own speed checking service now which I believe is pretty new:

    Page Speed Home

    Try that and maybe it would be easier to understand and correct anything that needs correcting?

    Good luck.
  • You would use server side code to do this but I can't see how it would give you any increase in performance.
  • what is "cloacking" ? Alex, for 500
  • OP, I doubt this will make any difference to the speed your page loads. The message you are getting sounds like a standard message for any dynamic URL. I guess some web proxies are configured not to cache dynamic URLs.


    But to answer your question, if your hosting that wordpress site on linux you will need to use the apache mod rewrite to create a rewrite rule to make dynamic links look like static URLs.

Next Topics on Trending Feed