• Hello,

    This is happening on a number of websites using this plugin. On occasion, the stylesheets are not loading, and the issue is that the //www.websiteaddress.com/wp-content/cache/autoptimize/css/autoptimize_45ffdaa6cce331ca9effad18859e5765.css file is using http, while the website is using https. This causes a mixed content error, and the page is not rendered properly. If I clear the cache, it works again.

    Any ideas?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    AO uses wordpress core’s content_url() to decide what the base AO cache URL is. so what makes this weird is that it is intermittend really, as one would expect it (content_url()) to be consistent. So absolutely no idea why it would happen on occasion really I’m afraid.

    As a workaround you use one of AO’s filters (autoptimize_html_after_minify is a possibility) to alter the URL’s from https:// to https://? or playing around with the CDN URL might work as well.

    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Intermittent http/https issue’ is closed to new replies.