Content module caching?

  • Posts: 151
  • Thank you received: 9
11 years 5 months ago #103060

Hi,

Previously I had a fixed HTML page with over 1000 links to our 1000+ products. All links were categorized in tab positions.

It was an awfull lot of work to manage this page and so I decided to change it to an article-page that loads the hikashop content module. This way I don't have to update this page anymore by hand. Add a product in the Hika backend and the product shows up on that page.

Since we have 50+ categories, I created 50+ instances of this module and load each one of them in the corresponding article with a {loadposition hikashop-category_01}, {loadposition hikashop-category_02}, etc..

Every category is loaded into a tab but when the page loads, everything is loaded and this takes much time. I assume all products are loaded from the DB every time the page is viewed.

Is there a way to optimize the caching of hikashop content module? In some other modules I see an option for caching but not in this module.
I really want to speed up this page.

Maurice

Last edit: 11 years 5 months ago by Maurice.

Please Log in or Create an account to join the conversation.

  • Posts: 82760
  • Thank you received: 13346
  • MODERATOR
11 years 5 months ago #103094

Hi,

We indeed do not allow the caching because them we would have more support from people asking why they don't see the price or the name change when they edit the product because they activated the caching of the module (yes, I'm deadly serious).

But caching shouldn't be a problem actually for the content module. You would simply have to add the caching option to the xml of the module in modules/mod_hikashop/mod_hikashop.xml
Here is a page which explains what to add to the xml (at the bottom):
www.theartofjoomla.com/joomla-caching-explained.html

The following user(s) said Thank You: Maurice

Please Log in or Create an account to join the conversation.

  • Posts: 151
  • Thank you received: 9
11 years 5 months ago #103102

Haha, I can imagine that. I will add it in the XML. Thanks.

Maurice

Please Log in or Create an account to join the conversation.

Time to create page: 0.041 seconds
Powered by Kunena Forum