• Resolved Rob7

    (@rob7)


    I notice whenever a css snippet is added (whether inline or external file) a new file is created in the folder uploads/custom-css-js.

    When i remove the snippet the corresponding file however isn’t deleted. Should it be? I was expecting it to be deleted so it didn’t take up unnecessary disk space.

    Also when linking to external file(s), is there a performance hit when linking to multiple external files? Would it be better if they were combined into one producing a smaller html page?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello, Eric here. Not the dev but I am about to fork it so let me say this:
    You are perfectly right.
    1) it’s a bug, but who cares about 1k disk space, seriously? plus it’s like an history for you to keep…
    2) yes there is a performance hit as any single file leads to an http request: connect, get etc. So yeah pingdom and gtmetrix do not like that.

    I would recommend to either concatenate them or install a perf cache plugin such as w3tc or fatest cache so they will concatenate and minify them for you.
    best

    Thread Starter Rob7

    (@rob7)

    Thanks Eric, much appreciated.

    I know disk space isn’t massive, i am ocd. But the number of files will mount and the space will be much more than 1K. I also will clone dev sites, so these files will only increase. And when you backup a site in 3 different places and multiply by the number of sites we have on a server (and pay for disk space on server and backups), then it’s just something i like to keep under control, that’s all. I am control freak.

    I use WP Rocket, so hopefully, that will sort out minification etc.

    Plugin Author SilkyPress

    (@diana_burduja)

    Hi,

    these are very good suggestions. I’ll put them on my TODO list and implement them in one of the next versions.

    Thread Starter Rob7

    (@rob7)

    Thank you ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘css files aren’t removed from folder’ is closed to new replies.