[GitHub] [apisix] uran0sH commented on issue #5453: request help: proxy-cache plugin, why the cache expiration time cannot be configured dynamically?

2023-02-05 Thread via GitHub


uran0sH commented on issue #5453:
URL: https://github.com/apache/apisix/issues/5453#issuecomment-1418638718

   > Back from vacation.
   > 
   > > So do I need to modify the config of Nginx and reload it in 
`header_filter`? Are there some operations to modify the config of Nginx? I am 
so confused about it. Could you give me some ideas?
   > 
   > No. We need to modify Nginx and control it via Lua so the config can take 
effect at the plugin level.
   
   Does it mean that we need to modify the source code of Nginx?


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [apisix] uran0sH commented on issue #5453: request help: proxy-cache plugin, why the cache expiration time cannot be configured dynamically?

2023-01-19 Thread GitBox


uran0sH commented on issue #5453:
URL: https://github.com/apache/apisix/issues/5453#issuecomment-1396885215

   And I have another question: I modify the value of cache_ttl of proxy_cache 
to 1s in 'conf/default_config.yaml'. It doesn't work.


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [apisix] uran0sH commented on issue #5453: request help: proxy-cache plugin, why the cache expiration time cannot be configured dynamically?

2023-01-18 Thread GitBox


uran0sH commented on issue #5453:
URL: https://github.com/apache/apisix/issues/5453#issuecomment-1386676004

   So do I need to modify the config of Nginx and reload it in `header_filter`? 
Are there some operations to modify the config of Nginx? I am so confused about 
it. Could you give me some ideas?


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [apisix] uran0sH commented on issue #5453: request help: proxy-cache plugin, why the cache expiration time cannot be configured dynamically?

2023-01-17 Thread GitBox


uran0sH commented on issue #5453:
URL: https://github.com/apache/apisix/issues/5453#issuecomment-1385043734

   > Yes
   
   When I read the code of `disk_handler.lua`, I didn't understand how it 
caches things. It doesn't have the operation like `memory:set`


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [apisix] uran0sH commented on issue #5453: request help: proxy-cache plugin, why the cache expiration time cannot be configured dynamically?

2023-01-15 Thread GitBox


uran0sH commented on issue #5453:
URL: https://github.com/apache/apisix/issues/5453#issuecomment-1383106484

   If I'm not mistaken, should I make the proxy-cache plugin support cache_ttl?


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [apisix] uran0sH commented on issue #5453: request help: proxy-cache plugin, why the cache expiration time cannot be configured dynamically?

2023-01-12 Thread GitBox


uran0sH commented on issue #5453:
URL: https://github.com/apache/apisix/issues/5453#issuecomment-1379960959

   I will work on it. Thanks


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org