If static files are resources then they are affected by classpath and it should work. If they are just files in a folder, then they are either sent each time as is, or if you install “ConditionalHeaders” feature, they will be LastModified-controlled.