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.
如果我正确理解了整个 memcache 技术的工作原理,它会将查询缓存到网站的外部组件,通常是数据库。但是静态站点不使用数据库。那么将 memcache 与 Jekyll 和 Octopress 等静态框架一起使用是否有意义?
如果您的网站大部分是静态的,则最好使用 Nginx 和/或 Varnish。memcached 的典型用例是用于缓存数据库数据,它不限于此,但 Varnish 特别适用于缓存整个 HTML 页面及其所有相关的静态内容(js、css、图像等)。
是的。您可以使用。你可以缓存整个页面。一切都取决于您的应用程序