-
-
Notifications
You must be signed in to change notification settings - Fork 41
Closed as not planned
Labels
version: Strapi 4Issues related to the versions supported by Strapi 4Issues related to the versions supported by Strapi 4
Description
As the title, I don't see any cache instruction headers like Cache-Control: in the API response.
my current configuration:
"rest-cache": {
config: {
provider: {
name: "memory",
options: {
max: 32767,
maxAge: 3600,
},
},
strategy: {
maxAge: 3600000,
contentTypes: [
// list of Content-Types UID to cache
"api::category.category",
"api::printer.printer",
"api::supporter.supporter",
"api::seller.seller",
],
enableEtag: true,
hitpass() {
return false;
},
},
},
}pinkasey and fredericDelaporte
Metadata
Metadata
Assignees
Labels
version: Strapi 4Issues related to the versions supported by Strapi 4Issues related to the versions supported by Strapi 4