Copied to clipboard

Flag this post as spam?

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


  • Bob 38 posts 160 karma points
    Apr 06, 2017 @ 18:41
    Bob
    0

    Minify files

    I'm running some SEO tools and need to minify axd files. How could I do this?

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Apr 07, 2017 @ 11:58
    Alex Skrypnyk
    0

    Hi Bob

    Why do you have axd files on your pages?

    What did you use?

    Thanks,

    Alex

  • Bob 38 posts 160 karma points
    Apr 09, 2017 @ 17:32
    Bob
    0

    Hi, I created a control and all of a sudden I'm seeing scriptresource.axd and webresource.axd

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Apr 09, 2017 @ 17:34
    Alex Skrypnyk
    0

    Hi Bob

    Did you use something special in your control?

    UpdatePanel, GridView?

    can you show source code of control?

    thanks,

    Alex

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Apr 12, 2017 @ 21:20
    Alex Skrypnyk
    0

    Hi Bob

    It's better do not use such controls, because they are heavy.

    For general minifications try to use Optimus package - https://our.umbraco.org/projects/developer-tools/optimus/

    Thanks,

    Alex

  • Dan Diplo 1505 posts 5911 karma points MVP 4x c-trib
    Apr 13, 2017 @ 11:19
    Dan Diplo
    0

    Minifying an AXD file (assuming you mean a .NET HTTP handler) makes no sense - it's a compiled, binary file. I'm assuming you actually want to minify the files served by the handler?

    You could use the Client Dependency Framework (that Umbraco uses in the backend to minify files) in your front-end - see https://github.com/Shazwazza/ClientDependency

    Or you can use my prefered way which is to use MVC bundling and minification via WebGrease - see https://docs.microsoft.com/en-us/aspnet/mvc/overview/performance/bundling-and-minification and https://www.nuget.org/packages/WebGrease/

  • 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