Copied to clipboard

Flag this post as spam?

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


  • Ginuka Rajapksha 7 posts 97 karma points
    Sep 15, 2020 @ 10:39
    Ginuka Rajapksha
    0

    Js, Images and Css caching umbraco 8

    Hi all,

    I need to caching Js, Images, and CSS.

    How do I do that in Umbraco 8?

    Thanks

  • Ambert van Unen 175 posts 817 karma points c-trib
    Sep 15, 2020 @ 11:44
    Ambert van Unen
    100

    You could use the Clientdependencyframework for caching / bundling your JS and CSS.

    For images you'd have to ask someone else ;-)

    Normally I'd first ask, why do the images need caching? Do you have a big load on the server? Lots of the same images being served on a single page? Better performance?

    Perhaps Lazy loading is already a good enough solution for you.

  • Ginuka Rajapksha 7 posts 97 karma points
    Sep 16, 2020 @ 04:04
    Ginuka Rajapksha
    0

    Hi Ambert van Unen,

    Thanks for the answer.

    In image caching, the client doesn't change the images always. That's why I try to cache images to get better performance.

    Thanks

    Ginuka

Please Sign in or register to post replies

Write your reply to:

Draft