I have example of code below.
<script type='text/javascript' src='assets/scripts/somescript.php'>. </script>
So, will my browser still cache this just by not setting this scripts headers meta tag cache to must-revalidate?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Some browsers are more agressive with default caching than others. However, there are cache control headers you can send to indicate when to reload the code.
Is a code-snippet I’ve been known to use.
You can use more fancy stuff like If-Not-Modified headers and ETags, but Expire times are the only ones that eliminate extra server calls.