Jump to content
thirty bees forum

Expires headers


Fathira

Recommended Posts

hi i am using templatemonster 948 theme it is supported tb but something slower gtmetrix YSlow score B 84 tb original theme A92 IT IS GOOD why to theme 948 slower ? see blow There are 6 static components without a far-future expiration date. https://fonts.googleapis.com/css?family=Open+Sans:300,600 https://fonts.googleapis.com/css?family=Ubuntu:400,300,300italic,400italic,500,500italic,700,700italic https://fonts.googleapis.com/css?family=Raleway:400,200,100,500,600,700,300,800,900 https://fonts.googleapis.com/css?family=Open+Sans:300,400,700 https://connect.facebook.net/enUS/all.js#xfbml=1&appId=334341610034299 https://www.facebook.com/impression.php/f31df3106de7268/?apikey=334341610034299&lid=115&payload=%7B%22source%22%3A%22jssdk%22%7D how to solve the 6 static components without a far-future expiration date. issue please help thanks

Link to comment
Share on other sites

thanks and say https://fonts.googleapis.com/css?family=Open+Sans:300,600 this font not supported https ( showing crome browser adressbar right side a warning this not secured url
i try to chage theme header.tpl https://fonts.googleapis.com/css?family=Open+Sans:300,600 TO //fonts.googleapis.com/css?family=Open+Sans:300,600 (it is trick ) not solved
how to solve this issue . i can remove google font ? please say any idea thanks roband

Link to comment
Share on other sites

I´m not sure I understand. You write you started with https:// and still got complaints about insecure URL, that doesn´t make sense.

Are you sure you don´t have other places than the one you fixed still doing http://

Btw your fix changing this into just // is the correct fix. I just think you might have missed a place.

Link to comment
Share on other sites

no all side https see code $HOOKHEADER {/foreach} {/if} {if isset($jsdefer) && !$jsdefer && isset($jsfiles) && isset($jsdef)} {$jsdef} {foreach from=$jsfiles item=jsuri} {/foreach} {/if} {$HOOKHEADER} <body{if isset($pagename)} id="{$pagename|escape:'html':'UTF-8'}"{/if} class="{if isset($pagename)}{$pagename|escape:'html':'UTF-8'}{/if}{if isset($bodyclasses) && $bodyclasses|@count} {implode value=$bodyclasses separator=' '}{/if}{if $hideleftcolumn} hide-left-column{/if}{if $hiderightcolumn} hide-right-column{/if}{if $contentonly} contentonly{/if} lang{$langiso}"> {if !$contentonly} {if isset($restrictedcountrymode) && $restrictedcountry_mode}

see this https://stackoverflow.com/questions/11704756/google-web-fonts-and-ssl-error https://www.prestashop.com/forums/topic/224416-https-ssl-insecure-contents/ it is my issue thanks roband
Link to comment
Share on other sites

hi their use this method {if Tools::usingSecureMode()}s{/if} ? i changed to all https not solved after that code edited to {$HOOK_HEADER} after showing crome browser adressbar right side a warning this not secured url issue solved another idea http https mixed content setting in cloudflare set to all https that don thanks roband

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...