Fragment caching works only on production server?

Discussion in 'ASP .Net' started by Jens, Oct 24, 2007.

  1. Jens

    Jens Guest

    Hello,

    I've created a user control with fragment caching:
    <%@ OutputCache Duration="43200" VaryByParam="none" %>
    <% =now() %>

    In my local environment (PC with Visual Webdeveloper 2005) the caching
    of the control doesn't work because the displayed time is updated each
    time I refresh the page.

    When I upload the control to my production server (Win2003 with IIS)
    the caching works correct.
    Can anyone tell me what causes this problem?

    regards,
    Jens
     
    Jens, Oct 24, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.