Copied to clipboard

Flag this post as spam?

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


  • Dana Halter 9 posts 89 karma points
    Mar 29, 2016 @ 13:07
    Dana Halter
    0

    How to do image caching

    Hi! Im looking to do some image caching on my umbraco site to improve page load.

    Any suggestions on where to start.

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Mar 30, 2016 @ 21:38
    Alex Skrypnyk
    102

    Hi Dana,

    Do you want to add client cache ?

    Easy way to add client side caching to site - add this section to your Web.config:

      <location path="media">
        <system.webServer>
          <staticContent>
            <clientCache cacheControlMode="UseMaxAge" cacheControlCustom="public" cacheControlMaxAge="7.00:00:00" />
          </staticContent>
        </system.webServer>
      </location>
    

    Read more - http://24days.in/umbraco/2015/using-a-cdn-with-umbraco/

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft