• Hi,Thank you for creating this amazing plugin

    I have some problems in separate caching for mobile version:
    I created different design for mobile app and set a unique agent for mobile requests.
    But when anybody open site with mobile,mobile page cached and when another user open web version,see the mobile design!

    is this possible to separate cache for mobile and web version?

    I want to cache both of them.

    thanks again

    https://www.ads-software.com/plugins/wp-super-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I created different design for mobile app and set a unique agent for mobile requests.

    Not sure how you did. But, …

    is this possible to separate cache for mobile and web version?

    It is indeed possible and this feature is already available in this plugin.

    To achieve what you are trying to do, please visit your site’s /wp-admin/options-general.php?page=wpsupercache&tab=settings and check the option named “mobile device support” . See this screenshot, if needed.

    Additionally, you need to make sure that the htaccess rules are updated.

    Now, clear all the cache, visit your site via mobile and then look for the file named “index-mobile.html” at your site’s /wp-content/cache/supercache/yourdomainname.com/ (you may use SFTP / SSH to see the content in this directory). If this file (“index-mobile.html”) is not created, then you may assume that something went wrong somewhere.

    Thread Starter sajjadrad

    (@sajjadrad)

    Thanks for your answer.
    I did this but nothing happened.It can because of my mobile app browser agent.
    I set a unique user-agent for mobile app browser and add my agent to “wp_cache_mobile_browsers” array but I think it didn’t detect my agent as mobile device.

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘separate cache for diffrent agent’ is closed to new replies.