The easiest way to see my problem is to check this site with SSL: https://www.rekuperatory.pl/zapytanie-ofertowe on two browsers, one being Firefox.
The thing is, it loads correctly in Chrome, IE, Opera, but in Firefox it fails to load CSS files. There's no issue when visiting the site via HTTP: http://www.rekuperatory.pl/zapytanie-ofertowe - it loads just fine on every browser including Firefox. The problem is only with Firefox, only via HTTPS.
When I contacted hosting provider, they assured me, that everything is all right with SSL Certificate and the problem must be in linking files. But I don't see how may I change this. My stylesheet files are added like that:
defined('_JEXEC') or die; $doc = JFactory::getDocument(); $doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/default.css');
The funny thing is that when I run JCH Optimize, CSS files from template start working, but unfortunatelly the ones from custom modules don't. In modules there is slighly different way of adding CSS files. For example:
$doc->addStyleSheet( JURI::root(true) . '/modules/mod_mapa/css/style.css' );
I'm using Joomla! 3.4 but the problem was first seen on 3.2