Caching in nginx?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
Need nginx means to cache at different times address with get parameters:

/path/ — 10 seconds;

/path/?something — for a day.


Key-the cache must also be different (but it's all clear).


Can it be done? Compiled Nginx with perl module. Use proxy_cache.
by | 3 views

2 Answers

0 like 0 dislike
Well, do two zones with different time of life, and do proxy_cache with the desired area Locarno.
by
0 like 0 dislike
Yes, you can. Here is a variant with saving of the cached data of the web application and reading them with Nginx-Ohm: the Integration of Zend_Cache_Frontend_Page, Nginx and Memcached ,
\rPage caching in memcached and nginx (nginx memcached web cache speed)
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
7 answers
asked Mar 24, 2019 by DenisO
110,608 questions
257,186 answers
0 comments
27,912 users