Fixes for ngx cache on