0

Help please, I'm really stuck!

I have a custom module (ObserverInterface) to construct all my menu. When de Cache is on, you can see this module only in few pages.

  • Please post your code or errors from var\log – Ankit Shah Dec 16 '16 at 8:47
  • Have you cleared all your cache and built your statics? – Julien Lachal Dec 16 '16 at 9:26
  • I clear everything, also I setup:di:compile... I don't know what to do!! – Slashhh Dec 16 '16 at 9:47
  • try cacheable=false on your custom block XML file – Keyur Shah Dec 16 '16 at 9:47
  • Ankit Shah, I don't have any record in the logs. :-( – Slashhh Dec 16 '16 at 9:48
0

jajajaja, it was easy!!! Instead of the menu, we had a "esi:include" tag. This tag supposed to be rendered by the Varnish Cache.

The thing is that we don't have the Varnish cache instaled, but the configuration for Caching Application in Store > Settings > Configuration > Advanced > System, in the Full Page Cache section, was "Varnish Caching".

Easy to fix, change Varnish Caching for Built-in Application (of course if you don't have the varnish installed).

Thanks to every one!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.