Title: BUG: Widget javascript cache files always http, even over https
Last modified: August 22, 2016

---

# BUG: Widget javascript cache files always http, even over https

 *  [menathor](https://wordpress.org/support/users/menathor/)
 * (@menathor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/bug-widget-javascript-cache-files-always-http-even-over-https/)
 * Awesome plugin! Only problem I’ve just discovered is when a widget is created,
   there is a javascript cache file created in wp-content/uploads/cache. This file
   is accessed by http, even when calling a page by https.
 * This causes mixed-content warnings on browsers such as chrome, and stops certain
   parts of the page from rendering properly! Can you please make all references
   relative eg. //mydomain.com/wp-content/uploads/cache/asdasdafq3dasasd.js so that
   they work on both http and https?
 * [https://wordpress.org/plugins/my-shortcodes/](https://wordpress.org/plugins/my-shortcodes/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [David Cramer](https://wordpress.org/support/users/desertsnowman/)
 * (@desertsnowman)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/bug-widget-javascript-cache-files-always-http-even-over-https/#post-5845586)
 * Thanks for this. I haven’t done an update in a whole but will be pushing one 
   soon. I’ll e sure to include a fix for this with it.
 *  Thread Starter [menathor](https://wordpress.org/support/users/menathor/)
 * (@menathor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/bug-widget-javascript-cache-files-always-http-even-over-https/#post-5845587)
 * No problems, and thanks!
 *  Thread Starter [menathor](https://wordpress.org/support/users/menathor/)
 * (@menathor)
 * [11 years ago](https://wordpress.org/support/topic/bug-widget-javascript-cache-files-always-http-even-over-https/#post-5845660)
 * Hey David. Just wondering if you had any quick code fix for this I could implement
   manually until the next update? I’m serving a lot of pages of https now and the
   mixed content warnings are scaring some people off, especially on ecommerce pages.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘BUG: Widget javascript cache files always http, even over https’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/my-shortcodes_f6e3df.svg)
 * [My Shortcodes](https://wordpress.org/plugins/my-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/my-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-shortcodes/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [mixed content warning](https://wordpress.org/support/topic-tag/mixed-content-warning/)

 * 3 replies
 * 2 participants
 * Last reply from: [menathor](https://wordpress.org/support/users/menathor/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/bug-widget-javascript-cache-files-always-http-even-over-https/#post-5845660)
 * Status: not resolved