Title: Cachify and https-links
Last modified: August 21, 2016

---

# Cachify and https-links

 *  [Michael](https://wordpress.org/support/users/mkalina/)
 * (@mkalina)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/cachify-and-https-links/)
 * Hi,
 * My website can be reached by http and by https. http is the canonical protocol,
   https is there for those who need their privacy.
 * When cachify is deactivated, checking for is_ssl() works perfectly fine and URLs
   are accordingly rewritten. When it is active, however, links to stylesheets and
   javascripts are _either_ http _or_ https depending on which protocol the first
   user viewed the site. This of course breaks the site for visitors who visit through
   https, but would get an http-link to, say, the stylesheet.
 * How can I make this work? I even would not mind, if http is cached, but https
   is not. Is there a way to do that?
 * I am using Cachify 2.1.3 and WordPress 3.8.
 * And sorry, I saw that I am actually duplicating a thread from [6 months ago](http://wordpress.org/support/topic/cachify-with-ssl?replies=7),
   but replies were closed there…
 * [http://wordpress.org/plugins/cachify/](http://wordpress.org/plugins/cachify/)

Viewing 1 replies (of 1 total)

 *  [tzdk](https://wordpress.org/support/users/tzdk/)
 * (@tzdk)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/cachify-and-https-links/#post-4462888)
 * Have you seen this [https://gist.github.com/sergejmueller/6990637](https://gist.github.com/sergejmueller/6990637)?
   Is from dev. himself, in docs too [http://playground.ebiene.de/cachify-wordpress-cache/](http://playground.ebiene.de/cachify-wordpress-cache/)
   More importantly it seems to work.
 * I have excluded bbPress with something like
 *     ```
       add_filter( 'cachify_skip_cache', 'skip_cache' );
       function skip_cache() {
       	if ( function_exists ( 'is_bbpress' ) && is_bbpress() ) {
       		return true;
       	}
       	else {
       		return false;
       	}
       }
       ```
   
 * so should [http://codex.wordpress.org/Function_Reference/is_ssl](http://codex.wordpress.org/Function_Reference/is_ssl)
   not work the same?
 * I think I would check WP Super Cache or W3TC forums for info on https page caching.
   Should you do it? is it foolproof?
 * Do not have option to test as I cant get Cachify to work on a Lite Speed server!
   Rewrite rules crap or something.

Viewing 1 replies (of 1 total)

The topic ‘Cachify and https-links’ is closed to new replies.

 * ![](https://ps.w.org/cachify/assets/icon-256x256.png?rev=2505413)
 * [Cachify](https://wordpress.org/plugins/cachify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cachify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cachify/)
 * [Active Topics](https://wordpress.org/support/plugin/cachify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cachify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cachify/reviews/)

## Tags

 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 1 reply
 * 2 participants
 * Last reply from: [tzdk](https://wordpress.org/support/users/tzdk/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/cachify-and-https-links/#post-4462888)
 * Status: not resolved