简体   繁体   中英

how to Nginx Cache works with Laravel?

I'm Really confused about how Nginx Cache interacts with (php) Laravel all I know that Nagix uses FastCGI to Cache dynamic pages and serve it as static for optimal performance and Laravel have good Caching component.

There's a package : Nginx Cache Controller for Laravel 4, but it outdated :(

My Question is how php (Laravel) interacts with cache like - prevent page or request from cached or purge the cache - etc....?

Nginx和Apache都是Nginx,比apache响应更快Nginx与laravel有不同的重写规则Nginx是nginx具有fastcgi的好选择,因此您可以像apache一样使用,这里是1理解链接https://www.digitalocean.com/community/tutorials / understanding-and-implementing-fastcgi-proxying-in-nginx对不起,我的英语不好,希望这对您有所帮助

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