• Hi there, I’m optimizing my site and figured plugins don’t cut it since I remain having 20 separate css and js files spread all over, sourced from theme to plugin to wordpress itself.

    How can I do this myself without breaking them ? As in making a command that combines everything on running the website, so the files stay intact.

    My second question: what are all those IANA.org requests made when I go in my website https://www.aquinox.nl? It slows down my site and want to get it fixed, but I don’t know how and nothing found on google. it seems to be an official organisation..

Viewing 4 replies - 1 through 4 (of 4 total)
  • All those javascript and css files are needed for whatever is adding them; manually moving them around is not recommended. You could use some sort of plugin like this one or this one to minify and combine them all automatically. Other services like CloudFlare can do this as well.

    https://en.wikipedia.org/wiki/Internet_Assigned_Numbers_Authority
    I don’t know why or where you have requests to their site.

    Thread Starter Aquinox

    (@aquinox)

    Yeah actually I already run w3 total cache with all caches + minify running.. and gzip and tried wp js/wp css too. That’s why I said I’d like to do it myself in some way.. isn’t there a simple way to scan which css & js files are parsed upon file load and then say ‘load them as one file’. so it doesn’t do a few standard css/js files but dynamically scans.

    I know that manually moving is tricky because they all link to eachother and if you mess with it it easily goes haywire :/ why do they separate js/css at all..

    anyways here is a screenshot of IANA messing with my site, not even at the last http requests, so even slower..

    https://img851.imageshack.us/img851/3369/httpreq.png

    All the css/js files are separated because they’re not all being generated from the same source. You can’t manually mess with them because it would kill everything. Several are most likely, at least partially, dynamically generated and don’t exists anywhere. Others are included under certain conditions in certain ways that if you want to alter them, it would require large rewrites of plugin/theme/core files. Minifying through a plugin or something like CloudFlare is really the only way to consolidate them. Yes, you could try writing something yourself to do it, but I have no idea where to start. Perhaps you can look at existing plugins that already minify and gain some inspiration, but then it would seem more economical to just use those plugins.

    I believe w3 total cache only minifies theme css/js. You might have to try something else to minify everything.

    IANA isn’t really messing with your site, something in your site is requesting things from the IANA website; I have no idea why your site is requesting those things. The only people who could know/find out are you, your host, and the person who wrote whatever piece of code is causing it. You could always try disabling your plugins one by one and switching to the default theme in order to try and track down what plugin/theme is causing it.

    Thread Starter Aquinox

    (@aquinox)

    Yeah that rewriting is what I didn’t looked forward to so was trying to find another way. I found it; you can manually add js/css files to w3TC and it works like a charm. the iana stuff is a problem with my browser I think, as it loads on every website. so other peeps shouldnt get that IANA BS and it will load even faster ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to combine CSS JS files & what are those IANA.org HTTP requests?’ is closed to new replies.