Hey Andrei, the reason for a fresh index is because it contains the references to your files. E.g. app.ahdj57nl.js, styles.afni47hh.css, etc.
If the index is cached you would end up with references to old files that potentially don’t exist anymore.
It makes sense now. So to make sure that I understood, the server is who sets the cache headers for other files(*.js, *.css etc). Whereas the meta tags are used to set the headers on the index file. Did I get it right?
Correct on the first part, but meta isn’t needed for the index. You set control-headers for the index as well.
Ok. Thanks!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Andrei, the reason for a fresh index is because it contains the references to your files. E.g. app.ahdj57nl.js, styles.afni47hh.css, etc.
If the index is cached you would end up with references to old files that potentially don’t exist anymore.
It makes sense now. So to make sure that I understood, the server is who sets the cache headers for other files(*.js, *.css etc). Whereas the meta tags are used to set the headers on the index file.
Did I get it right?
Correct on the first part, but meta isn’t needed for the index. You set control-headers for the index as well.
Ok. Thanks!