-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML Compression does not work with SSL #348
Comments
Any mixed content security errors visible in the browser? |
Sorry that information would've been helpful information up-front. No, there are no security issues and looking at the HTML the CSS/JS does seem to be on the right URL/scheme and the files exist from what I can see. |
@petehannam Are you by any chance running a CDN plugin of any kind; like the one for CloudFlare? There are some known issues being worked out with CloudFlare and the HTML compressor, and this might explain the issue, at least in part. Also, can you provide a link to a page where this occurs, or paste a few of the dead links? Just in case they might shed some light. Thanks for reporting! |
I'm running the site through Cloudflare but I don't have the plugin installed. The issue happens with Cloudflare in dev mode and I think it happened when we weren't running through Cloudflare whilst we were installing the SSL cert. I'd be happy to move off Cloudflare if that will help with your investigations. The website is https://londonfrontrunners.org/ I've turned on the HTML compression settings that breaks things and have put Cloudflare into dev mode. I'll leave it this way for two hours (i.e. until ~15:00 BST). |
Taking a look, thank you. |
Hmm... I see the CSS/JS resources are loading OK over Can you please enable the full debugging notes in Quick Cache for me? Then run a fresh test and see what you get in the HTML source code notes that Quick Cache leaves. You'll should get a bunch of debugging output in the comments at the bottom of your HTML doc. If you paste those in that'd be great :-) |
Quick Cache HTML Compressor took 0.00647 seconds compiling CSS tag frags in checksum: '9d7a03a6f635d3cb38e19ee8cc5f003f'. Quick Cache HTML Compressor took 4.39220 seconds (overall). |
Related GitHub IssueNoting here that there's another GitHub Issue (#413) related to this one. I'm closing this GitHub issue in favor of the other one, as there's a bit more insight in that issue regarding where the problem may be. @petehannam Could you leave a comment on #413 and let me know if you were using the CloudFlare Minify & Compression features while also trying to use the HTML Compressor? If you were, that might explain the conflict. |
@petehannam Thank you for your patience on this issue. We've identified a fix that we believe resolves the problem you described here. The following will be released with the next ZenCache Pro release:
|
Hi,
We've been running Quick Cache Pro successfully for a while now. Over the weekend we moved the site from HTTP to HTTPS (i.e. added an SSL cert to the server).
With Quick Cache's HTML compression turned off, everything works fine. However, we found the site broke if we enabled any of the following options. By 'broke' I mean that the CSS and/or JS resources didn't load.
Thanks,
Pete
The text was updated successfully, but these errors were encountered: