Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't see the purge cache button in production mode #37

Open
thibaultcarlier opened this issue Dec 7, 2022 · 4 comments
Open

I can't see the purge cache button in production mode #37

thibaultcarlier opened this issue Dec 7, 2022 · 4 comments
Labels
flag: good first issue Good for newcomers issue: bug Something isn't working severity: medium source: plugin status: pending reproduction version: Strapi 4 Issues related to the versions supported by Strapi 4

Comments

@thibaultcarlier
Copy link

Hi,

I would like to know if it is normal not to have the purge button on my entities when strapi is in production mode? I see in the code that it is logically based on permissions and my permissions are good.

So is it logical that the button does not appear?

Thanks

@thibaultcarlier
Copy link
Author

thibaultcarlier commented Dec 7, 2022

And I have the same problem when I want to do a /rest-cache/purge, it tells me that the permissions are not good but everything is checked and good in the database. (I have the great token with full access)

@Alexkid909
Copy link

I have the same / similar issue. I fired up the playground and copied in my code and config and DB bit by bit. I now have my entire project running in the playground and I can see the Purge button, yet it doesnt show on my project. I can see that my content items are being stored in on my Redis server. Maybe its dependency version related?

@stafyniaksacha stafyniaksacha added the flag: good first issue Good for newcomers label Mar 15, 2023
@supagu
Copy link

supagu commented Apr 21, 2023

I have the same problem. I can see a 403
Forbidden trying to access:
GET https://.../rest-cache/config/strategy

Additionally, running locally I can see the first request takes some time while later ones take ~5ms. On production all requests are taking the same time which makes me think it not working in production.

@josteph
Copy link

josteph commented Aug 9, 2023

Same here, got 401 error when trying to access /rest-cache/config/strategy

@derrickmehaffy derrickmehaffy added the version: Strapi 4 Issues related to the versions supported by Strapi 4 label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: good first issue Good for newcomers issue: bug Something isn't working severity: medium source: plugin status: pending reproduction version: Strapi 4 Issues related to the versions supported by Strapi 4
Projects
None yet
Development

No branches or pull requests

6 participants