You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "realreachard (via GitHub)" <gi...@apache.org> on 2023/03/08 08:27:25 UTC

[GitHub] [apisix] realreachard commented on issue #8719: bug: Unable to use memory proxy cache

realreachard commented on issue #8719:
URL: https://github.com/apache/apisix/issues/8719#issuecomment-1459719589

   > Like this?
   > 
   > ```yaml
   >         zones:                             # The parameters of a cache                                                                 
   >         - name: memory_cache                                                                                                           
   >           memory_size: 100m                                                                                                       
   >                                                                                                                          
   >         - name: disk_cache_one             # The name of the cache, administrator can be specify                         
   >                                            # which cache to use by name in the admin api                                 
   >           memory_size: 50m                 # The size of shared memory, it's used to store the cache index           
   >           disk_size: 1G                    # The size of disk, it's used to store the cache data                     
   >           disk_path: "/tmp/disk_cache_one" # The path to store the cache data                                        
   >           cache_levels: "1:2"              # The hierarchy levels of a cache                                         
   >       #  - name: disk_cache_two                                                
   > ```
   
   same problem , but got Response code 500. 
   how to config memory proxy cache  in /apisix_conf/config.yaml  ? 


-- 
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-unsubscribe@apisix.apache.org

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