Stylesheet load/cache issue RRS feed

  • Question

  • I have made a change to my css file and deployed to an IIS8 server on Windows 2012 R2. I am linking from an ASPX page.

    If I have ...

    <LINK href="./GolfBookings.css" type="text/css" rel="stylesheet">

    The old version of css will be served.

    If I have ...

    <LINK href="./GolfBookings.css?43784378" type="text/css" rel="stylesheet">

    The correct version is loaded. Great, but if I go back to ...

    <LINK href="./GolfBookings.css" type="text/css" rel="stylesheet">

    the old version will be served again. This behavior persists across application pool recycles and even a windows server reboot. 

    Ideally, I would like the new stylesheet served without any change to the aspx file including dodgy query strings.

    Thank you

    Friday, May 29, 2020 7:24 AM

All replies