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.
我有一个足够重的主页,其中包含图像、css、js 等静态内容,这些内容致力于使它看起来不错并且是必须的。
该页面还具有登录表单,因此为了安全起见,我不得不使用 https 来加载主页。
1. 每次页面加载时都会加载所有静态内容吗?
2. 如何确保静态内容被缓存,即使我的主页是安全的?
我正在使用struts2,tomcat进行开发。