A reference to a non secure css file was found

babblebibbabblebib Member
in Help edited February 2014
Hi,

I'm trying to cache my checkout template and the admin site is reporting "A reference to a non secure css file was found:" and then refers to eth first of my CSS files hat are required for my site.

Does this mean that I have to refer to any CSS files with https in my template? I thought the caching mechanisms did all of that for me?

Tight now, I'm omiting the protocol part of the URI like this:

<link href="/CSS/foundation.css" rel="stylesheet" type="text/css" />

This is my template: http://babble-kids.co.uk/cart/foxycheckout
Comments
  • I figured this out. For some reason the href needs to be the last attribute. This now works ......

    <link rel="stylesheet" type="text/css" href="/CSS/foundation.css" />

    Weird, but it is working so i am happy!
  • fc_adamfc_adam FoxyCart Team
    @babblebib,

    Yeah it's a weird bug in the caching that we are yet to properly fix. It's actually more about the rel tag, in some instances won't cache unless the rel is the first tag.
Sign In or Register to comment.