The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.1 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 12-08-2019, 11:04 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't configure apache to clear all F grades!
11-24-2011, 07:26 PM
Post: #1
Can't configure apache to clear all F grades!
If anyone with apache knowledge can advise, I would be very grateful.

I spent a day trying to optimise my httpd.conf and did see good improvements but have reached the end of my limited understanding.

This is where it has got to: http://www.webpagetest.org/result/111124_Y7_29JE7/

One bit that is bugging me is my failure to GZIP encode all text assets (the main html file):

FAILED - (43.8 KB, compressed = 6.1 KB - savings of 37.7 KB) - http://www.glovesonhand.co.uk/wa/1/43/44...shion.html

The apache config I added was:

<FilesMatch "\.(php|css|htm|html|xml|txt|js|pl|jpg|jpeg)$">
SetOutputFilter DEFLATE
</FilesMatch>

This did apparently compress the CSS file, but not the main page html file.

My other problem is in compressing images. If I tell apache NOT to compress jpg/jpeg files, then the initial load is 2s (25%) slower for this page. However, WPT still gives me a F and still lists the same jpg files as needing compression, even when I am compressing them and the page load is clearly faster.

Now I know a better solution would be to compress images before hand, not on the fly, but why does WPT show a faster load but still report the problem? Is it because it is simply unhappy with what it finds after unpacking the images, despite the fact they were handed over compressed? Is my only fix to better optimise the original images on this site? If so, any Mac OS X / Windows tools I can drop lots of files in and have them come out lighter (so our staff can do the work, not me using command line tools!).

Thanks for any insights, would love straight A grades!

John
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Can't configure apache to clear all F grades! - johnnypoll - 11-24-2011 07:26 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)