Page cache and SSL
-
My site is accessible via both http and https.
If I enable Page Cache, the external script and link elements all point to either http or https regardless of whether the user is accessing the site using SSL.
It appears that the links inside the HTML document are processed and cached based on the first request, e.g. if the first request is https://mydomain.com, the links inside the document will be http, if the first request is https://mydomain.com, the links will be https. Thus, when the document is retrieved from the disk cache, it will have the links based on what the protocol used by the first cache-generating request.
The behavior is the same whether I used Disk or Disk Enhanced. Looking at the appropriate block in .htaccess, it seems like W3TC should generate different copies for SSL pages, but it doesn’t.
Is there a workaround?
- The topic ‘Page cache and SSL’ is closed to new replies.