如何将我的Azure Redis缓存与运行Wordpress的新Ubuntu VM关联以缓存网站? [英] How to associate my Azure Redis Cache to a new Ubuntu VM running Wordpress to cache the website?

查看:76
本文介绍了如何将我的Azure Redis缓存与运行Wordpress的新Ubuntu VM关联以缓存网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为Redis创建了一个新的Azure Cache,我在Azure中运行了一个运行Wordpress的新Ubuntu VM。它们都在运行并共享同一个资源组。如何让Azure Cache for Redis在运行Wordpress的Ubuntu VM中缓存网站。
我怎么知道它的实际工作时间呢?我需要SSH进入ubuntu VM并运行一些东西让它们一起工作吗?  

I created a new Azure Cache for Redis and i have a new Ubuntu VM running Wordpress in Azure. They are both running and share the same resource group. How do i get the Azure Cache for Redis to cache the website in my Ubuntu VM running Wordpress. How do i tell if its actually working when i do? Do i need to SSH into the ubuntu VM and run something to make them work together?  

推荐答案

你好GaryBronson

Hello GaryBronson

您能否详细说明您的用例?

Could you please elaborate your use case?

您是否希望将Azure Cache for Redis用作对象缓存?这意味着您需要从缓存而不是数据库中检索静态标题,菜单等。

Do you want to use Azure Cache for Redis as an Object Cache? Meaning you have static headers, menus etc that need to be retrieved from a cache instead of a database.

两个最常用的Wordpress插件是
WP Redis
Redis对象缓存

The two most popular Wordpress plugins are WP Redis and Redis Object Cache.

如果您有其他问题,请告诉我们。

Please let us know if you have further questions.


这篇关于如何将我的Azure Redis缓存与运行Wordpress的新Ubuntu VM关联以缓存网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆