1 post
  • Bought between 10 and 49 items
  • Has been a member for 1-2 years
  • United States
colecoboy84 says

Okay, even those of us who love WordPress will admit that this superflexible cms has its drawbacks, and one of them is the load/caching issue. No matter what theme I’m using, the #1 optimization recommendation is always the same: “Leverage browser caching.” Which is always followed closely by “Serve scaled images.”

Ideally, the nice folks at the WP development commune would try to tweak their core files to address these issues, but clearly that’s not gonna happen. So how about some enterprising developer coming up with a plugin, script or SOMETHING that attempts to address (or at least minimize) these shortcomings?

40 posts
  • Beta Tester
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
orbitalplugins says

To implement browser caching, all you have to do is edit the .htaccess file.

As for serving scaled images, are you talking about for mobiles? There isn’t a silver bullet yet but adaptive images works rather well at this time and is easy to implement.

Reducing HTTP requests is important, themes that enqueue 5 different css files on a single page are usually bad news.

484 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 100 and 199 users
  • Sold between 50 000 and 100 000 dollars
+1 more
omarabid says

You just need to tweak that in your Server. Be it Apache (.htaccess) or another kind. (They all have, or should a way to set the expiration date).

Otherwise, you can set it too with PHP headers. Hook to the template_redirect action.

by
by
by
by
by
by