MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Drupal CSS/JS Optimisation
Current time: 08-15-2020, 09:52 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drupal CSS/JS Optimisation
11-13-2011, 03:33 AM
Post: #1
Drupal CSS/JS Optimisation
I've been a web developer for a while now, and have only recently discover webpagetest, due to a client's server being terribad.

JS/CSS files are aggregated,
Keep-alive turned on,
Got JS files in the footer,
Boost module is installed, with htaccess amendments (Page caching).

Yet still 10secs or so for a page render.

I've optimised problem is that drupal appears to create 5 css or js files each when compressing everything. So was trying to find a module that slapped everything into 1 or 2 files and came across this in depth article which suggests that putting JS files in the footer does nothing without further work.

Quote:Just moving <?php print $scripts ?> to the footer won’t bring any result, because inline-scripts that will remain in the header will expect jquery.js and other scripts in the header and will return errors during execution.

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

Messages In This Thread
Drupal CSS/JS Optimisation - lexbi - 11-13-2011 03:33 AM
RE: Drupal CSS/JS Optimisation - pmeenan - 11-14-2011, 11:23 PM
RE: Drupal CSS/JS Optimisation - luluberlu - 12-13-2011, 06:28 PM

Forum Jump:

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