#1
Posted 28 July 2012 - 06:54 PM
#2
Posted 29 July 2012 - 11:09 AM
#3
Posted 29 July 2012 - 01:51 PM
#4
Posted 30 July 2012 - 06:16 PM
To gzip you will have to turn the file mode on by adding the following to wp-config.php
Over optimisation will actually slow your site down, especially as you have opted to use disk based object/database and page caching, most cheap shared hosts used network filesystems and are slow as custard.
#5
Posted 27 September 2012 - 10:37 AM
Please help me to gzip
. compiled css at 108kB
, /features/script.cycle.js?ver2.9994 at 50kB and ,
./script.bootstrap.mini.js?ver2.0.3 at 22 kB
www.pdmwa.net.au
I have:
. installed w3tc and I think it's working
. added define('LESS_FILE_MODE',true); to the wp-config,php file
. deactiveated 'use google libraries'
. smushed everything....
i'm on a shared server and will swallow the latency there.
#6
Posted 27 September 2012 - 10:51 AM
Can you provide a link to your website please. Also, if you're on shared hosting, this type of hosting isn't designed for performance, with web hosting you most definitely get what you pay for and if your hosting is $1 per year, then it doesn't really matter how much caching you do, it will always be slow. But providing us with a link will help us.
#7
Posted 27 September 2012 - 10:20 PM
www.pdmwa.net.au
Yes, I am on shared hosting which accounts for up to 6s of latency. This is bad but I'm stuck with it. the uncompressed compiled css and the others should be though..
thanks
#8
Posted 27 September 2012 - 11:11 PM
Secondly compression is at server level, depending on your host and the server type you may be able to add something to .htaccess, ask your host if they support DEFLATE.
#9
Posted 30 September 2012 - 04:01 AM
I had already added
define('LESS_FILE_MODE',true); to the
FAILED - (49.9 KB, compressed = 13.5 KB - savings of 36.3 KB) -
FAILED - (22.3 KB, compressed = 6.3 KB - savings of 16.0 KB) -
FAILED - (5.9 KB, compressed = 2.4 KB - savings of 3.6 KB) -
FAILED - (2.7 KB, compressed = 1.2 KB - savings of 1.5 KB) -
Thanks, Karen
#10
Posted 30 September 2012 - 09:20 AM
#11
Posted 17 October 2012 - 05:06 AM
Still unable to compress compiled css and js.
Server says that deflate is supported and confirmed with their own ping test, results are copied below.
I was mistaken in saying that "some some files are compressed whilst these are not. Webpage test reports:
GZIP encode all appropriate text assets: 50/100"
None are compressed, I misunderstood the 50% part.
So -
Host says deflate is enabled and turned on
I had already added define('LESS_FILE_MODE',true); to the
"HTTP/1.1 200 OK
"Date: Thu, 11 Oct 2012 05:29:57 GMT
"Server: Apache/2.2.11 (Unix) PHP/5.2.17 FrontPage/5.0.2.2635
"Vary: Accept-Encoding,Cookie
"Last-Modified: Wed, 10 Oct 2012 05:31:34 GMT
"Accept-Ranges: bytes
"Content-Length: 3206
"Cache-Control: max-age=96, public, must-revalidate, proxy-revalidate
"Expires: Thu, 11 Oct 2012 05:31:34 GMT
"X-Pingback:
"X-Powered-By: W3 Total Cache/0.9.2.4
"Pragma: public
"Content-Type: text/html; charset=UTF-8
"Content-Encoding: gzip "
#12
Posted 17 October 2012 - 10:51 AM
The result is no compression enabled for js and css files. As I already said before this is a server level setting. Usually yu have to add something to .htaccess but your host will b abl to tell you.
#13
Posted 17 February 2013 - 03:15 PM
How do you tell the server to compress the PageLines CSS?
#14
Posted 17 February 2013 - 03:26 PM
How do you tell the server to compress the PageLines CSS?
Compression is done at a server level, depends on the server software you would need to ask you host.
#15
Posted 17 February 2013 - 05:58 PM
True. The server also runs the PHP code and hands out the HTML files. The server does compress .css files. However, PageLines does not create a .css file. Is there a way that PageLines can be told to create a .css file, and not pagelines-compiled-css_<random number string thing>? Maybe PageLines could just create a file like "pagelines-compiles-css.<randomnumber>.css and then a server, etc., would know what type of file it is? Unless you have an idea what the regex expression should be for the file so it can be identified as a css file to compress? Anything?
#16
Posted 17 February 2013 - 06:09 PM
- and the server is Apache, and it would / could use the deflate option, and for most who are using the W3, it already sets a directive to compress .css files. Point being, all other .css files are being compressed.
wp-content/themes/pagelines/pagelines-compiled-css-1_1361124053 = Not compressed
wp-content/plugins/photonic/include/scripts/fancybox/jquery.fancybox-1.3.4.css.gzip = compressed (note that it is recognized as a .css file)
#17
Posted 17 February 2013 - 06:13 PM










