Jump to content

Remove query strings from static ressource


Recommended Posts

Hi everyone,

 

I am trying to optimize my website, and have run into these two static ressources that are not being cached because of the question mark variable at the end - does anyone know if this is in the template file, or if I can change that somewhere else?

 

http://www.mydomain.com/img/favicon.ico?

http://www.mydomain.com/img/logo.jpg?

 

Your help would be much appreciated!

 

Best regards,

 

Dan

Link to comment
Share on other sites

  • 2 weeks later...

Hi CartExpert!

 

Thanks for your reply! So it is better to leave the question mark and add an update time? How should that format look?

 

Or is it safe to simply remove the query string, after all shouldn't the updated version of these images be served by the server when you recompile the website and clear cache the updated ?

 

Thank you in advance!

 

Dan

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...