Dynamic port number for Memchaced – Azure Web App -> Redis Cahe via Memcached
-
Hi,
I’m trying to run W3 Total Cache using memcached under Azure Web App. I have implemented a Redis chache via memcached protocol, however, the localhost memcahed port changes every time and I need to obtain the port number using a PHP function (getenv(“MEMCACHESHIM_PORT”)). The problem with W3TC is: when I modify the \wp-content\w3tc-config\master.php and add the function as a memchached port, everything works fine, but, W3TC replaceces the function by the port number when save any config modification.
I’m thinking about develop some W3TC extension to prevent it. Is it possible? Some orientation about how can I do that?
Detalied information about using Redis via memcached protocol https://azure.microsoft.com/en-us/documentation/articles/web-sites-connect-to-redis-using-memcache-protocol/
- The topic ‘Dynamic port number for Memchaced – Azure Web App -> Redis Cahe via Memcached’ is closed to new replies.