Forum Support

Shape 5
March 28, 2024, 05:17:25 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Set caching for google fonts and template  (Read 12514 times)
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« on: May 03, 2015, 03:05:53 AM »

How can you set cache validators for the fonts and template ?
And leverage browser caching for fonts and template resources ?

The rest is covered, these are the only items left.

Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: May 03, 2015, 09:44:59 PM »

Hello,

In regards to Google Fonts it is pulled directly from their servers so you would need to set up the files on your server first. There is a good tutorial here:

https://wordpress.org/support/topic/how-to-cache-google-fonts

You can also enable Cache under the System Tab in the back end of Joomla.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« Reply #2 on: May 04, 2015, 12:04:29 AM »

Hi,

I am talking about caching some particulair files of the template and Google fonts.

Thanks for the tutorial how to place them on your own server.
That would have been most likely the next question Smiley

Do a test of any website, click the recommendation on leverage browser caching and validation and you see what I mean.

You need to place them in your htacces.
Dunno how exactly how for the files that are mentioned after the test.

Trying to get yslow a bit higher. It is with most joomla sites not more then grade B of C. You have to try some things out .
Pagespeed is most of the times ok.

Also got the feeling that the latest joomla version is a bit heavier and slower.

Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: May 05, 2015, 02:08:20 PM »

Hello,

I have usually just done changes via HTAccess and used the built in GZip Caching/Compression. I was able to get A- and A+ with those tools using some tweaks, but most of the changes were done via the htaccess file. Here are some links I used:

http://magazine.joomla.org/issues/issue-mar-2011/item/347-Increase-your-sites-speed-dramatically
http://magazine.joomla.org/issues/issue-june-2012/item/787-htaccess-File-That-FREAKIN-Works

If you take some of the parts from each and combine them your scores will go up dramatically.


Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« Reply #4 on: May 05, 2015, 03:06:40 PM »

If it is ok with you I like to compare your htacces with mine to see if I,m missing something. The one I use give me better result then the one from the linked article. Tried that one a while ago.

I see Joomla is going into the right direction since a while. It was not improved for quit a while again. Now also for end users it becomes more friendly. Reason why lots of designers switched to WP. Let see what more improvements are also heading our way in the future updates.
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #5 on: May 05, 2015, 04:48:43 PM »

Hello,

Does it matter which Template? I will try and get the highest score on those metrics and send you my htaccess.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« Reply #6 on: May 05, 2015, 08:26:27 PM »

I think the files are quite simulair, doesn't matter which one. One of the latest will be fine.  Thx !

Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #7 on: May 05, 2015, 08:44:57 PM »

No problem.

I will let you know once I get a chance to do this.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Gutshot
Jr. Member
**
Offline Offline

Posts: 489



« Reply #8 on: May 07, 2015, 01:10:01 PM »

Hi Mike,

Purchased JCH Optimize pro version and did some testing with it,

In the template the compression off and used the plugin

Was working on the Spectrum template, started from a pagesize of 1,44 mb reduced it to 662 kb
Loading time from 5,06 sec.  to under 3 sec. and reduced the request from 52 to 22. See image...  Did nothing on the layout itself, only tweaking.

All still working fine, in all browsers, maybe it can improved more but experienced some problems with the image in the iacf. So gonna leave it like this.. it is a acceptable score for this kind of homepage with several scripts. and an iacf.

However I noticed the improved .htacces did not speed up much more using the plugin.
Best 10 $ ever spend Smiley
« Last Edit: May 07, 2015, 01:26:35 PM by Gutshot » Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #9 on: May 07, 2015, 10:18:09 PM »

Awesome results,

I am still going to see if I can get As in both categories but Joomla has some limitations for this just from the CMS files. I will post my results here soon.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.