We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28120
    • 380 Posts
    Should the cache store a copy of each unique resource by ID or should it include the querystring?

    I’ve got a page pedigree.html?id=4 but the cache stores one file for id 7(pedigree.html) regardless of the querstring parameters. The information on the page is entirely different depending the value off id.

    Thanks

    Mark
      • 28120
      • 380 Posts
      Actually ignore that, I don’t think it’s a very intelligent question.

      I can see in the cache file there’s all the HTML but where there are dynamic bits it’s got the snippet call.

      I think my problem is how to run a snippet within a snippet e.g.

      [[!getResources? &parents=`1` &resources=`[[!getUrlParam? &name=`id` &default=`4`]]` &includeTVs=`1` &processTVs=`1` &includeContent=`1` &tpl=`pedigree`]]


      This code isn’t being refreshed (I’ve tried removing the ! on the 2nd snippet)