Initial minify very slow
-
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 80kbThe 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.28ps: 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!
- The topic ‘Initial minify very slow’ is closed to new replies.