• Hi,

    As I see now, one css file is 1.5mb, autoptimize does the job but a little to well, as it takes css files that are never triggered due to some plugins that I have turned off certain features. I would be great if it could recognize or I could set i size, at max 300-500kb, but don’t split a css or js in half. So it could make several parts, with three different parts I would be satisfied.

    Is something like this possible to do?

    All the best

    https://wordpress.org/plugins/autoptimize/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Frank Goossens

    (@futtta)

    no, that is not possible Spledorito.

    maybe this plugin can help; https://wordpress.org/plugins/plugin-organizer/ ?

    frank

    Thread Starter Splendorito

    (@splendorito)

    Hi Frank,

    I’ve added the plugin. I suppose, I’ll need to exlude certain files and use pluginorganizer to not load those in certain parts of the site. But still, I have great score, 86 to 90 in pagescore and y-slow 80. I’m currently checking issue, and I see I get an issue when uploading image in buddypress using rtmedia. I need to reload the page to see the image.

    https://dl.dropboxusercontent.com/u/40266186/Error.PNG

    I’ve excluded the rtmedia-backbone.js
    Can you please help me..if that takes to much time, i’ll pay you for that.

    Thread Starter Splendorito

    (@splendorito)

    As well, as the files a pretty big, my loading times are between 5-6 seconds in Vancouver, the site is hosted in Amsterdam and I use Maxcdn, so I guess this is not the best. I need to get those files down.

    Thread Starter Splendorito

    (@splendorito)

    By the way, can I exclude a whole plugin?

    Plugin Author Frank Goossens

    (@futtta)

    re. image uploads; using the API you could disable AO for logged in users or for specific pages, would that help?

    re. file size; how big are those files, as 5-6s is enormous.

    re. excluding a whole plugin: add “plugin/pluginname” to the CSS- or JS-optimization exclusion-list and you’re good to go.

    frank

    Thread Starter Splendorito

    (@splendorito)

    Thank frank.

    Well, I have a css file that is 750 kb, and a another 64kb..
    The js files are at most 760 kb, but right know 256 kb , as I excluded some.
    https://dl.dropboxusercontent.com/u/40266186/Css.PNG

    What do you think?

    Plugin Author Frank Goossens

    (@futtta)

    5-6s for a 750KB file is huge and I’ve seen this happen on MaxCDN on other occasions. Try without MaxCDN, your results could actually be better …

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Any way to splitt the css and js files to smaller parts’ is closed to new replies.