Great module! using it have reduced the website load time and page caching time dramatically.
Tho, when using Ajax blocks with Boost and i18n, where block is set to "All languages", the blokes are loading in the site default language instead of current user language.

  • Have not tested in non Boost website.
  • Language negotiation is set to "Path prefix only".

Couldn't figure out a quick fix for this one, any suggestions?

Comments

maximpodorov’s picture

Thank you for your response.
Yes, I understand the problem. When using path prefix negotiation, this module still sends requests to /ajaxblocks URL, not to /language_code/ajaxblocks (so the server side can't determine the current language). I think adding such prefix will fix the problem. I'll do this soon.

maximpodorov’s picture

Could you try the latest dev version? I commited the changes to fix this problem.

miraclegr’s picture

It is working for me.

maximpodorov’s picture

Status: Active » Fixed

OK, thanks for the report.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.