cocozhaocs opened a new issue #6474:
URL: https://github.com/apache/apisix/issues/6474


   ### Issue description
   
   1. when I used disk cache strategy,  I changed the cache_ttl value  in 
config.yaml and in plugin parameters by using curl,but the cache seems still 
keep valid for 10s。so I tried to find how cache cache_ttl works in your 
code(apisix/plugins/proxy-cache), but I did not figuere out where the cache_ttl 
works in diskhandler.lua and util.lua 。
   
   2. In diskhandler.lua and util.lua , I found that there are some founctions 
to generate cache file name and purge the cache file ,but how to save the cache 
file?  How it works to save the cache file in APISIX?
   
   3. I would like to firgure out how the cache plugin works,I setted the 
log_level and error_log_level value of "debug",but I did not find log (eg: 
core.log.info("proxy-cache complex value: ", core.json.delay_encode(data)))in 
access.log and error.log。What should I do to see the log like what has been 
mentioned?
   
   ### Environment
   
   -apisix version  2.11.0
   -OS centos 9
   -Nginx version 1.19.0
   -etcd version 3.4.15


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to