Feeds:
文章
迴響

Archive for 五月 18th, 2017

檢查是否有

fastcgi_param HTTP_IF_NONE_MATCH $http_if_none_match;
fastcgi_param HTTP_IF_MODIFIED_SINCE $http_if_modified_since;

另外, 如果有啟用 fastcgi cache, 記得將這兩個也列為 cache key, 如

fastcgi_cache_key “$scheme$request_method$host$request_uri$http_if_modified_since$http_if_none_match";

 

Read Full Post »