My question is about javascript websites.
Suppose GoogleBot has crawled example.com/index.html?id=1
Does it request all the javascript files again when crawling example.com/index.html?id=2
?
index.html?id=1
and index.html?id=2
have identical javascript files, but their generated contents are different.
The javascript files are included like so
<script src="data.js" type="text/javascript"></script>
Here is the code for cache control in the .htaccess
.
ExpiresActive On
ExpiresDefault "access plus 1 year"
data.js
per request forindex.html
by GoogleBot, then it may not cache resource files at all. Thank you, everybody, for your comments.