简体   繁体   中英

Copy http Cache-Control to a new server

I have a setup where we curl one of our solr servers and use the http header Cache-Control to cache the results.

We're setting up a new server that will be making the same calls, is there a way to move the cache from the old server and copy it over to the new server? Where would that be stored by default on linux?

Based on our discussion in comments above. It seems like you do not currently have an operational cache. PHP cURL does not have any built-in caching mechanism, you you will need to implement you own caching mechanism should you need it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM