• Resolved alexyangjie

    (@alexyangjie)


    Hi,

    I am now using W3 Total Cache with my blog (https://www.alexyang.me). Below is the setting.

    Host: VPS (total control over all settings)
    Version: wordpress 3.8, w3 total cache 0.9.3
    SSL: Enabled but not mandatory
    Page Cache: Disk Enhanced
    Cache Preload: On, 100 seconds/10 pages
    Cache pages: front page, feeds, SSL requests, 404.

    For my site, because I use relative links, there is NO difference for SSL and non-SSL pages in terms of content. I notice that when I visit non-SSL page, a page cache named _index.html is created. And if I visit SSL page, a _index_ssl.html is created.

    This is ok because I can direct SSL and non-SSL requests to the corresponding cache. However, the Cache Preload only creates SSL version of page cache for me. (that is _index_ssl.html). Therefore, if a visitor visit non-SSL page for the first time, there will be a cache miss.

    1. Is there any way to also create page cache for non-SSL pages by Cache Preload, or is it possible to only maintain and use one version (_index.html) for both protocols?

    2. I also notice that after sometime, the file name is changed to _index.html.old. What is the expire time (TTL) for a page cache, and where can I configure it? (I am NOT talking about browser cache)

    Thank you very much.

    https://www.ads-software.com/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter alexyangjie

    (@alexyangjie)

    update:

    For question 1, since Cache Preload uses sitemap for URLs, the problem then becomes as fixing the sitemap to include HTTP links instead of HTTPS links. I have fixed this and changed my nginx configuration to try both SSL and non-ssl files for a request. This problem has been solved.

    Thread Starter alexyangjie

    (@alexyangjie)

    update2:

    Saw the notice on the bottom of the page… The TTL is in the Expires header lifetime field in the browser cache setting..

    So all problems are solved…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘About SSL support and Page Cache Expire setting’ is closed to new replies.