Copied to clipboard

Flag this post as spam?

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


  • Rune Grønkjær 1303 posts 2895 karma points
    Sep 15, 2010 @ 16:04
    Rune Grønkjær
    0

    XSLT unwanted caching

    Hi,

    I have an xslt that, when saving it, does not change the output on the page.

    If I recycle the app pool, and thereby cleares the cache, the output is updated with the changes.

    My macro settings are standard:
    Cache Period: 0
    Cache By Page: Yes
    Cache Personalized: No

    What is going on?

  • Rik Helsen 670 posts 873 karma points
    Sep 15, 2010 @ 16:29
    Rik Helsen
    0

    IIS configuration?

    I've always seen my changes immediatly so far (both on staging and live environments)

  • Rik Helsen 670 posts 873 karma points
    Sep 15, 2010 @ 16:31
    Rik Helsen
    0

    You have eliminated proxy servers, browser caching and such right?

  • Rune Grønkjær 1303 posts 2895 karma points
    Sep 15, 2010 @ 16:38
    Rune Grønkjær
    0

    Hi Rik,

    Browsercaching is not the problem. We're not using a proxy server and it works on all other xslt's. What is different here is that this template is included like this

    <xsl:include href="box.xslt"/>

    Am i missing something here maybe!?


    /Rune

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Sep 15, 2010 @ 16:52
    Sebastiaan Janssen
    1

    Ah, the include only updates if you update it's "parent". This is an XSLT 1.0 quirk, as I undestand it. 

    Install this EXCELLENT package and you're good to go!

  • Chriztian Steinmeier 2726 posts 8320 karma points MVP 4x admin c-trib
    Sep 15, 2010 @ 20:19
    Chriztian Steinmeier
    1

    @cultiv - you're absolutely right about XSLTouch - the problem is actually a sideeffect (defect?) of using .NET's compiled transforms - not really an XSLT 1.0 issue. Just to be clear about that.

    /Chriztian

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Sep 15, 2010 @ 20:27
    Sebastiaan Janssen
    0

    Sorry Chriztian, to offend your favorite subject! ;-) I was always led to belief it wasn't Microsoft's fault, I stand corrected!

  • Chriztian Steinmeier 2726 posts 8320 karma points MVP 4x admin c-trib
    Sep 15, 2010 @ 21:22
    Chriztian Steinmeier
    0

    Ha ha - no offense taken - we all dig these discussions :-)

    /Chriztian

  • Rune Grønkjær 1303 posts 2895 karma points
    Sep 16, 2010 @ 08:24
    Rune Grønkjær
    0

    Thanks guys for the tips. The XSLTouch package works like a charm. If I could I would High five all of you.

    /Rune

  • Rune Grønkjær 1303 posts 2895 karma points
    Sep 16, 2010 @ 14:25
    Rune Grønkjær
    0

    Shouldn't this be placed in the umbraco core instead? It's a quite central problem, so why should it not be handled by default?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies