Mister Denial Posted January 16, 2012 Share Posted January 16, 2012 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 More sharing options...
CartExpert.net Posted January 16, 2012 Share Posted January 16, 2012 Hello! The question marks in these cases should be followed by the update time of the images. This is used to reload them if changes have been made to them. You cand find the lines for both of them in 'header.tpl'. Regards. Link to comment Share on other sites More sharing options...
Mister Denial Posted January 31, 2012 Author Share Posted January 31, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now