3263 posts
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
  • Helped several times protecting Envato Market against copyright violations
  • Won a competition
+15 more
dtbaker Moderator says

One thing that strikes me with most wp themes is that they do not utilise this sort of system, and thus redundancy and laggg..gg.gg.gggg is very prevalent, because basic site pages are firing 50 million js files and css files that are used in other page templates.

This is a tricky one. Personally I would prefer all WP pages to have the same CSS/JS in the header so that the Minification/Cache plugins work better. This way each page would end up having a single cached/minified CSS and JS file that is identical to all other pages. This way the browser would have to download this file only once for the entire site. If each page had different CSS/JS then the browser would have to cache more than 1 minified file. If that makes sense.

5492 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says


One thing that strikes me with most wp themes is that they do not utilise this sort of system, and thus redundancy and laggg..gg.gg.gggg is very prevalent, because basic site pages are firing 50 million js files and css files that are used in other page templates.
This is a tricky one. Personally I would prefer all WP pages to have the same CSS/JS in the header so that the Minification/Cache plugins work better. This way each page would end up having a single cached/minified CSS and JS file that is identical to all other pages. This way the browser would have to download this file only once for the entire site. If each page had different CSS/JS then the browser would have to cache more than 1 minified file. If that makes sense.

Not really, whilst I agree with you in regard to cross page loading.

But on large dynamic sites, it just doesnt make sense to load every “jiblet” of css and js for every single page. Example.

The site I was looking at has over 500kb of js and css loading for his 404 page lol. Which is basically just a h1 and p tag !

Mind you it is painfully slow and I opted not to get it in the end, it was just more trouble than it was worth. I only liked it because of his use of jquery appear and jquery waypoints

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