Current time: 12-12-2017, 12:56 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cache static content/compress images always F
03-23-2013, 03:53 PM
Post: #1
Cache static content/compress images always F
Hello,
Noticed my site has been running slow and decided to test it. I ran several test to get a trend and cache static content & compress images always resulting as F. Its wordpress blog and everything is updated. I am using W3TC plugin. Thanks for any suggestions.

C
Find all posts by this user
Quote this message in a reply
03-24-2013, 12:18 AM
Post: #2
RE: Cache static content/compress images always F
(03-23-2013 03:53 PM)overtonis Wrote:  Hello,
Noticed my site has been running slow and decided to test it. I ran several test to get a trend and cache static content & compress images always resulting as F. Its wordpress blog and everything is updated. I am using W3TC plugin. Thanks for any suggestions.

C

should have included more info:
Here is link to test results: Test Results
Link to our site: Our Site

*using Hostgator for hosting.
* Basic Disk for Page Cache, minify enabled, CDN not enabled and Cloudflare not enabled.
Find all posts by this user
Quote this message in a reply
03-26-2013, 07:34 AM (This post was last modified: 03-26-2013 07:44 AM by vovone.)
Post: #3
RE: Cache static content/compress images always F
For the compressed images 'F' you can use the wordpress plugin smush.it, to optimize them. I myself optimize images manually using kraken.io, which I think givens even a bit better image optimization.

For the static content part, I tend to use disk:enhanced for Pagecache, but this is not causing the static content problem. You should check W3TC Browser Cache settings, especially the Media & Other files, and make sure you have a decent expiration time there.

Also, I suggest you also try to combine your CSS and JS files. Some Themes have this option included, but otherwise you should experiment with W3TC or other plugins on this. Combining CSS & JS is the most tricky optimization part from experience, using several plugins and kits on Wordpress, but it will make your website even faster.
Find all posts by this user
Quote this message in a reply
03-26-2013, 12:46 PM
Post: #4
RE: Cache static content/compress images always F
(03-26-2013 07:34 AM)vovone Wrote:  For the compressed images 'F' you can use the wordpress plugin smush.it, to optimize them. I myself optimize images manually using kraken.io, which I think givens even a bit better image optimization.

For the static content part, I tend to use disk:enhanced for Pagecache, but this is not causing the static content problem. You should check W3TC Browser Cache settings, especially the Media & Other files, and make sure you have a decent expiration time there.

Also, I suggest you also try to combine your CSS and JS files. Some Themes have this option included, but otherwise you should experiment with W3TC or other plugins on this. Combining CSS & JS is the most tricky optimization part from experience, using several plugins and kits on Wordpress, but it will make your website even faster.

thanks. I switched to WP Super Cache because Hostgator said they are better configured with it. I noticed there is Expiry Time & Garbage Collection section and I set that to 3600 seconds. But that does not help with existing files that don't have expiration times set. I read that I can adjust these in .htaccess file but I am leary messing with that file as I don't want to create problems down road.

For images - smosh.it is currently not working correctly but new developers are redoing that app so maybe in few months I can use it. I will look into kraken.io.

Thanks for your input.
Find all posts by this user
Quote this message in a reply
03-26-2013, 08:41 PM
Post: #5
RE: Cache static content/compress images always F
(03-26-2013 12:46 PM)overtonis Wrote:  thanks. I switched to WP Super Cache because Hostgator said they are better configured with it. I noticed there is Expiry Time & Garbage Collection section and I set that to 3600 seconds. But that does not help with existing files that don't have expiration times set. I read that I can adjust these in .htaccess file but I am leary messing with that file as I don't want to create problems down road.

The settings you are referring to are in the Pagecache section. You need to set browsercache for static files in the Browser Cache part of W3TC. Navigate the menu for browser cache, and set those expire values there at least a week or so (in seconds). W3TC will handle the .htaccess for you.

While SuperCache also works great, remember it's not a complete as W3TC, so you need additional plugins for minifying and other options that are default present in W3TC, but that's just up to you how much you want to optimize your website.

There are other ways to optimize your static files cache, like external with CloudFlare, but that is another story, and also depending on your hoster how well they support those options for full optimization, speed and failover.
Find all posts by this user
Quote this message in a reply
03-27-2013, 01:08 AM
Post: #6
RE: Cache static content/compress images always F
vovone,
I did as you said and went back to W3TC.
I only enabled:
* Page cache: Disk enhanced
* Browser cache

everything else I left unchecked and I got results I was looking for. Page load time went from 3.43 sec to 1.90 sec. Below are result test. Thanks so much for your help.

1.90 test - http://gtmetrix.com/reports/nfldraftrage.com/OBTBUhnF

3.43 test - http://gtmetrix.com/reports/nfldraftrage.com/HMe53EJX
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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