Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Combine javascript?


  #1  
Old Apr 30, 2014, 10:35 AM
Danielwerner's Avatar
Danielwerner
 
94 posts · Jul 2009
Smile Combine javascript?

Hi,

I'm using the latest version of Atahualpa and I'm trying to speed up my website. I use the speedtest at http://tools.pingdom.com/ and it seems my number one priority is to combine javascript and css. "bfa_ata_file=js" is the most delay-causing script, apparently.

How do I do this with atahualpa in an easy way? I tried installing the w3 total cache plugin, but that caused my site to take 10x longer to load. I uninstalled it and went back to WP super cache, that's working but it doesn't have a built in javascript compressor.

Any thoughts?

PS. My sites are http://blogg.danielwerner.se and http://geekglobe.com
__________________
http://blogg.danielwerner.se/
  #2  
Old Apr 30, 2014, 11:01 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If you search for minify on wordpress.org there are several plugins that show up that you could test.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 30, 2014, 11:10 AM
Danielwerner's Avatar
Danielwerner
 
94 posts · Jul 2009
Does atahualpa support minifying or are there any cons with this feature?
__________________
http://blogg.danielwerner.se/
  #4  
Old Apr 30, 2014, 02:20 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I have never tested. I would just install some and see how they work.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Apr 30, 2014, 03:06 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
As I understand it minifying is independent of a theme and what it does is remove all the comments and extra spaces from the CSS and JS. However if you are using inline CSS they don't seem to work (at least my test with better WP minified didn't do anything to the Atahualpa CSS when it was internal.

I just ran a set of test cases varying the 'better WP Minify' plugin off and on, 'CSS: External file or inline' to internal/external and 'CSS: Compress' to YES/NO here are teh results

test 1 CSS Internal not compressed - Better WordPress Minify disabled
characters 52,823
words 5,977
lines 2,332

test 2 CSS Internal compressed - Better WordPress Minify disabled
characters 32,228
words 4,794
lines 238

test 3 CSS Internal not compressed - Better WordPress Minify active
characters 52,827
words 5,983
lines 2,331

test 4 CSS Internal compressed - Better WordPress Minify active
characters 32,232
words 4,80
lines 237

test 5 CSS External not compressed - Better WordPress Minify disabled
characters 7,524
words 818
lines 237

test 6 CSS External compressed - Better WordPress Minify disabled
characters 7,524
words 818
lines 237

test 7 CSS External not compressed - Better WordPress Minify active
characters 7,524
words 818
lines 237

test 8 CSS External compressed - Better WordPress Minify disabled
characters 7,524
words 824
lines 236

as you can see, the plugin did nothing. What changed was having the CSS internal/external - the trade off there being if the CSS is internal it loads for each page the visitor goes to, If it is external it CSS is loaded once, BUT 2 calls to the server are needed. So it is a trade off.

Now using a caching plugin is a whole different story.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Combine Categories and Pages in one menu bar? toniko79 Page & Category Menu Bars 2 Feb 29, 2012 06:33 AM
Help! Trying to combine e-commerce navigation and page menu bar together?? Masselyn Page & Category Menu Bars 1 Jan 29, 2010 02:48 PM
How to combine logo and image section? LJPenton Header configuration & styling 4 Aug 4, 2009 05:34 PM
I want to combine the page and category menu. AlanaBay Page & Category Menu Bars 3 Jul 3, 2009 09:10 PM


All times are GMT -6. The time now is 05:30 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.