Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望目录中的所有文件都有缓存,
我的.htaccess中有这个,但不能正常工作
<FilesMatch /js/admin/.*> Header set cache-control "public, max-age=31536000, immutable" </FilesMatch>
什么是正确的解决方案?