1. Stef
  2. Pre-sale questions and feature request about Speed Cache
  3. Wednesday, March 21 2018
  4.  Subscribe via email
Hi, excluding a module or a module position from cache will be a great feature. Specially concerning Banner module which does not play banners randomely when cache is activated, i.e.. Any roadmap for such feature ?
Responses (3)
Accepted Answer Pending Moderation
Hi,

Unfortunately this is not possible.
Speedcache will serve cache before Joomla is fully started.
This is why it is quite faster than the original Joomla cache.

If you need to use a non cacheable module, I would recommend to use a module which is loaded through ajax requests.

Best regards
Accepted Answer Pending Moderation
Hi Damien, OK your advice was the good one :-)
I found that plugin, which force a module in a module position to be loaded through ajax.
I tried it for my Banner module, and it works with Speedcache activated. Now my module dispatch banners randomoly on each page loaded or reloaded...
That's perfetc !
Actually developper say :
Not all modules can be loaded using such a plugin, as some modules may use JS which tries to use DOM which doesn't exists at the Ajax request. Such modules will not work with the plugin. Most modules still work perfect.

For who are interested :
URL Banner module with Ajax Module Loader
URL of the plugin : Ajax Module Loader
Accepted Answer Pending Moderation
Hi,

Super interested, we'll check that closely.

Cheers,
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!