Forum Moderators: open
Also, try to make the file look dynamic with the rest of the fields (maybe setting a cookie for a session id, or something) - that might also scare Google away from it :)
If the plain-old header expiry date won't work for non-HTML files, you might
try appending "no-cache, must-revalidate" to the HTTP headers. I use these
directives in my root directory .htaccess file:
# Set http header cache expiry dates and controls
ExpiresActive On
#
# Default - Expire all pages 1 week from last access
ExpiresDefault "A604800"
Header append Cache-Control: "must-revalidate"
#
# Apply a customized Cache-Control header to frequently-updated pages
<Files test.html>
Header unset Cache-Control:
ExpiresDefault "A3600"
Header append Cache-Control: "no-cache, must-revalidate"
</Files>
Then you can check your files for cacheability with the on-line tool at
[ircache.net...] (not affiliated)
I don't know if Googlebot will take the "no-cache, must-revalidate" as a hint
that the resource should not be cached, but it certainly should.
HTH,
Ji
Long shot but may be worth testing.