• Resolved seventailor

    (@seventailor)


    I don’t know why my product page is not being cached. My setting is a default.
    When I check cache contents, it only shows the homepage URI.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter seventailor

    (@seventailor)

    My Result Using Super cache:

    1. Homepage is cached properly
    Link https://infomag.com.my/seventailor/
    Link for speed https://photos.app.goo.gl/KxJjSJoHjhrGPozn7
    2. Product page not cached.
    Link https://infomag.com.my/seventailor/index.php/product/plain-long-sleeve-shirt/
    Link for speed https://photos.app.goo.gl/HKBzJZuxQMs19P6i6
    For this page, I’ve put a lot of attributes and many plugins installed like WooCommerce Attribute Swatches by Iconic and WooCommerce Product Configurator by Iconic.
    3. Done increased values for max_input_vars from 1000 to 5000 and max_execution_time from 30 to 90

    My comment:
    -This hosting is under Linux. Previously, I’m using Windows Server hosting and it did not exhibit this behavior (main page and product page are cached correctly)
    -Using Query Monitor but no errors and only shows “Slow Queries” for some page.
    -A link of super cache content https://photos.app.goo.gl/xXdcoyySoTMMridF7
    – Is there anything that I should check?

    Sa?a

    (@stodorovic)

    Hi @seventailor,

    You should set “Pretty permalinks” into WP Settings. Apache (Linux) supports mod_rewrite and I don’t see reason why you left index.php into URLs. It’s bad for SEO and caching. More details: Using_Permalinks.

    Default WPSC settings are:
    Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you don’t want to …:

    wp-.*\.php
    index\.php
    

    So, only homepage will be cached (in your case). I don’t recommend to you remove index.php from these settings. It’s better to set “Pretty permalinks” and add proper redirects (old URLs to new URLs without index.php) for SEO purpose (google index shows various URLs which contain index.php which isn’t good).

    Thread Starter seventailor

    (@seventailor)

    Thank you very much @stodorovic. It’s working now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only cached the homepage’ is closed to new replies.