Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sherry Ann Hernandez 320 posts 344 karma points
    May 24, 2011 @ 17:06
    Sherry Ann Hernandez
    0

    xslt macro caching is not working

    Hi,

    I have an xslt macro that I wanted to cache. I use the macro parameters to cache it by the querystring but it doesn't work and I just get the cache value of the initial xslt listing.

    I use the debug trace for this and it shows like this

    Here is the result of my debug trace when checking my xslt macro cache.
    umbracoMacro Macro loaded from cache (ID: 64, Flora Group_ Dining List) 0.122052872641635 0.000050
    renderMacro Rendering started (macro: Flora Group_ Dining List, type: 1, cacheRate: 300) 0.122075571057215 0.000023
    renderMacro Content loaded from cache ('1164-[@mode]-FloraGroup_DiningList-[@hotelID]-')...
    for the @mode I don't understand why it is not showing the actual value but the parameter that I passed in the macro.

    Can somebody explain why it is not using the actual parameter value? I'm using umbraco version 4.6.2

Please Sign in or register to post replies

Write your reply to:

Draft