• Not sure why my question got deleted, so here it comes again, now with some more info:

    Hi, I love your plugin, many thanks for sharing.
    I am currently using 1.3 rc2 and it seems that the fancy url’s are working now.

    However: the initial creation of the cache files is very slow:
    – I am on a hybrid server, with 4gb ram, php has 512mb
    – Every first pageload (after emptying cache) takes about 8-10 seconds, 90% of this is waiting for the bwp-minify files (in 2 parts, the head- and footer files)
    – It does not matter if I add 5, 10 or 20 files per minify file. The resulting files are all less than 80kb

    The second pageload is normal, i.e 1-1.5 seconds.

    Is there a way to make the minifying more efficient?

    Thanks!
    ps: some server info:
    WordPress Version:3.9.1
    MySQL Version:5.6.16
    PHP Version:5.4.28

    ps: when minifying 2 files/ file, resulting in 5 header files of max 45kb each, the generation of which takes 8-10 seconds, which is blocking page load (13-14 sec in total)

    Repeat loading was 2 secs.

    With 1 file/file this was 25secs (first load)/1.5 secs (2nd load),
    With 30 files/file this was 5secs (first load)/1.5 secs (2nd load),

    So it seems that

    all measured on gtmetrix. Sorry I have no live url at this moment.

    Other notes:
    -1 file/file does not add expiry headers.
    – 30 files/file breaks the friendly urls, the ? is used again.
    – the on/off switch for the friendly urls seems to work sometimes.

    Thanks!

    https://wordpress.org/plugins/bwp-minify/

Viewing 1 replies (of 1 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    Sorry for my late reply, not sure why I didn’t receive any notification.

    Is there any slowness when NOT using fancy urls?

    I think there’s a bottleneck in your file list, i.e. a js/css file that makes minification extremely slow.

    You can try ignoring 5 files at a time and if the speed is improved one of those files is causing the issue, then simply narrow down on those 5 files.

    If you have any dev environment you can contact me via http://betterwp.net/contact/.

Viewing 1 replies (of 1 total)
  • The topic ‘Initial minify very slow’ is closed to new replies.