cuber / ngx_http_google_filter_module

Nginx Module for Google Mirror
BSD 2-Clause "Simplified" License
3.35k stars 779 forks source link

如何设置缓存 #80

Closed out0fmemory closed 5 years ago

out0fmemory commented 8 years ago

如何设置缓存谷歌的网页以及图片、css以提高效率?

suconghou commented 8 years ago

直接给nginx加expires指令就好了,http本地缓存,更快!

cuber commented 5 years ago

google本身就会返回expires的,会缓存在浏览器里面的,不用担心