1 post
  • Has been part of the Envato Community for over 1 year
  • Has collected 10+ items on Envato Market
  • Located in 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
  • Has referred 1+ members
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
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.

486 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by