0
 Followers
1
 Like

Parameter wise Caching in Web blocks

Frontend
Implemented
on 09 Jul 2015

We can have parameter wise caching in web blocks same as varybyparam in usercontrols in asp.net .So that data can be cached against the input  parameter of web block


Created on 22 Jun
Comments (5)

This already exists:

Caching of the webblock already depends on the input parameters. If they are different no caching is done and the webblock renders again.

If they are the same the webblock is given back from the cache.

Hi Justin and Johan,

What if i want to cache a web block by any specific Input parameter  For ex a Web Block  A has 2 input parameters INP1 and INP2 i want caching only depend on INP1.  

There should be a option of Caching Input parameter where we can assign it

Regards

Devendra





 


What you can do, if possible, is make new webblock inside this webblock which uses the inp1 parameter and cache that webblock. Than put no cache on the first webblock.


Hope you can do this.

Changed the category to Frontend and the status to

Implemented
on 09 Jul 2015


As Justin James and Johan den Ouden were kind enough to point out, the requested capability is already in the product. Going to classify the idea as "Implemented".

views
115
Followers
0