Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 798 forks source link

index-https-mobile.html is not served in https? #25553

Open talgalili opened 7 years ago

talgalili commented 7 years ago

I want to use jetpack with wp-super-cache so that the mobile pages would be cached. I turned mobile theme on + wp-super-cache (including the mobile theme plugin in the plugin section). I see that it creates index-https-mobile.html. But that once an index-https.html is created - it does not serve them. This only started occurring once I moved to using https.

Can others reproduce this problem? Any suggestion on what to do?

donnchawp commented 7 years ago

Are you still seeing this? The latest version of the plugin has some fixes to the mobile checks. I tested and I was served a cached page named index-https-mobile.html.gz

talgalili commented 7 years ago

Hi @donnchawp. I see you are very active on this repo recently, thank you for all your work/merges/responses! Once you finish this round of patches and upload a new version I will make sure to check it on my blog and respond here.

With regards, Tal

talgalili commented 7 years ago

Hi @donnchawp I just tried this with the latest branch from github (it says it is 1.4.9, but the files are newer than what is available on wordpress.org), and still I can't see any index-https-mobile.html files. I am using https with the website, the WPTouch plugin enables, "mod_rewrite to serve cache files." and updated the .htaccess as required. I wish this could work.

Thanks.