Z
Z
Zona2011-09-14 22:32:36
Nginx
Zona, 2011-09-14 22:32:36

Nginx - replay a line in the cache?

There is a non-trivial task - using nginx to change to replace line A with line B, in the cache from memcache. Where line B is the value of the variable from the query string, line A is some macro(s) that is set in the server config.
How can you do this without implementing your own analog module that works with memcache?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2011-09-15
@Zona

Built-in pearl will not help?

P
Porfel, 2011-09-15
@Porfel

Nginx can only read from Memcache, it cannot write to it.
So there are 2 options:
- Implementation of your module analogue
- Try the built-in pearl, as mentioned above.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question