Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Speed up site - Add Expires headers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-15-2010, 05:37 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Speed up site - Add Expires headers

Hi could anyone help please iam using http://gtmetrix.com to test and speed up my site, it states one issue is -

There are 3 static components without a far-future expiration date.

* http://www.trustlogo.com/trustlogo/javascript/trustlogo.js
* http://www.trustlogo.com/trustlogo/images/popup/seal_bg.gif
* http://www.trustlogo.com/trustlogo/images/popup/warranty_level.gif

Iam not sure how to add far-future expiration date or were to put any of the code, ive tried looking it up on google but iam still stuck can anyone advise please.

Many thanks
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #2  
Old 11-15-2010, 11:28 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Speed up site - Add Expires headers

You can't because the files are not in your control. I would move the trust logo to https pages i.e. checkout.
Reply With Quote
  #3  
Old 11-15-2010, 12:29 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Speed up site - Add Expires headers

Many thanks for the advice Jon I already had it on the checkout page but ive taken it off the home page, think its some what reasuring to a customer when they first land on your site they see an SSL Certificate, so all ive done for the home page is put a .png and removed the java, this has helped with the speed loading, think most people know how to check if a site has a valid SSL anyway.
Iam down to about 3.4 seconds load on the home page now.

Many thanks again.
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:00 AM.

   

 
X-Cart forums © 2001-2020