Nested Content With Additional Get Params Duplicating Content


(Nic Hubbard) #1

Matrix Version: 5.4.3.1

We recently built a page for our Graduation that included Nested Content that used Additional Get Params to pass in the ID of a Youtube Playlist. The Nested Content was an asset listing that would then take that playlist ID and using the Youtube API (JSON Datasource) it would show thubmnails of the videos on our page that users could then click to view.

This Nested Content was embedded three times on the page, each with a different playlist ID in the Get Params.

The issue we are seeing, is that for some users they will see duplicated content in those three sections. It seems that the GET params is not staying unique for the nested content, and it is reusing the params from farther up the page.

Is this a known issue where you can not use the same nested content multiple times on a page in this way?


(John gill) #2

I’ve hit this before, and for us it was related to the Matrix Cache. The system doesn’t use the extra params as part of the key when determining the uniqueness of the asset output (I think :man_shrugging: )

This is an extra-double-bastard because it never shows up while you’re testing since everything is bypassing cache anyway.

Our solution was to exempt the asset being nested from Matrix Cache using the Root Specific Node screen of Cache Manager. Seemed to do the trick. If you’ve got multiple assets involved in the nesting gadget you might need to exempt more than one of them.


(Nic Hubbard) #3

Ah, good to know that we aren’t the only ones that this has happened to. And yes, I never saw this happening when building the page and previewing it. Only got reports after it was built.


(Bart Banda) #4

Yes, this was fixed a while ago, I think sometime late in the 5.4 series, or maybe early 5.5, can’t remember.