Prestashop: Memcached and backend

Created on 12 Apr 2019  Â·  20Comments  Â·  Source: PrestaShop/PrestaShop

Hello I need you help to diable the memcached for the backend office please

BO Improvement Performance To Do

All 20 comments

Hi @go-sudo,

To disable the Memcached: go to BO => Configure => Advanced Parameters => Performance.

Thanks for check and feedback.

Hi
What I meant to say is that I want to disable the MEMCACHED to cache the backend of website.

@go-sudo, thank you to tell me what is your exact problem?

When I activate memcaced on my website some modules ares stopped like newsletter( mails still in progress and cant' send them) so I dont want cache my backend only frontend
i found this on forum but I dont know if that works
https://www.prestashop.com/forums/topic/335988-backoffice-pages-dont-refresh-after-any-modification/?tab=comments#comment-1883775

Hi @go-sudo,

It seems that your issue is not a PrestaShop's core bug but most likely a customization problem.
You should check your host.
I close the ticket, feel free to open a new one when needed.

Hi

I think you should add this on feature because it worth nothing to cache the backend (back office) of the website
Regards

@marionf, @colinegin, what do you think?

@PrestaShop/prestashop-core-developers what do you think ?

Hi

I think you should add this on feature because it worth nothing to cache the backend (back office) of the website
Regards

Hi @go-sudo, although indeed the frontend benefits a lot more from cache capabilities than the backend, being able to use memcached for backend is still a useful feature.

So can we rephrase your feature request as "Enable PrestaShop users to choose to either use memcached for backoffice, frontoffice, or both" ?

Hi @go-sudo,
What do you think of matks comment?

Hello

I think it's good idea to give user that choice to cache the
Frontoffice
Backoffice
Both
Regards

Yes, we need to be able to specify which cache we want for FO and/or BO

I want to cache only frontoffice please

On Thu, May 2, 2019, 17:16 GoT notifications@github.com wrote:

Yes, we need to be able to specify which cache we want for FO and/or BO

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PrestaShop/PrestaShop/issues/13389#issuecomment-488736303,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYOVQI3LZD3AJVIQYJ3RUTPTMHW7ANCNFSM4HFTJ3OA
.

Hello
I need yo cache frontoffice only
Thanks

Hello any news please

Still not had the time to implement this feature. If you know how to do it, don't hesitate to help us :)

Still with problems with Memcached on backoffice and API/webservice, returns old values in some cases.

We need cache only on FrontOffice, how can we do that?

@pmartin-webimpacto Not implemented yet, as far as I know. Ping @khouloudbelguith if you know how to implement Memcached only for frontend?

Hi,
let me notice that on prestashop 1.7.5.2 this is a huge issue with caching on the backend. I'm trying to change product SEO URLs and with memcached enable although the product saves the new URL, cache is not invalidated. Thus the product URL stays the same as before.

So my use case is this:

  • Enable memcahed
  • Edit a product in backend
  • Change the SEO url
  • Save the product
  • In the JSON Response I can see the URL indeed changed
  • Refresh the page
  • The old URL appears instead of the new one.

So basically the real bug is that cache is not invalidated after certain actions. It's not a terrible idea to cache the backend but you need proper invalidation mechanisms. Otherwise it's best not to cache the backend or the user would undo his changes.

Now the second bug.

The clear cache button in performance options doesnt' seem to correctly flush memcache cache. In the same example as before I cleared cache multiple times but nothing happened.

I disabled the cache option for memcache and immediately I saw my changes reflect in the backend.

I think this issue needs real attention as it'snot a feature request but a real bug affecting administrators.

Hello @khouloudbelguith

I enabled the Nginx cache on Plesk and I can't access to Backoffice,

https://www.youtube.com/watch?v=aUyERrz9KH8

Regards

Was this page helpful?
0 / 5 - 0 ratings