WordPress.org

Forums

WP Super Cache
Caching different pages for iPad & iPhone: cached_mobile_groups (5 posts)

  1. cadbloke
    Member
    Posted 2 years ago #

    This was discussed at http://wordpress.org/support/topic/plugin-wp-super-cache-different-cache-files-for-different-mobile-devices and you gave an answer about using filters. That's fine if you want to be a hardcore WordPress developer but if you're an end-user then that answer was worse than useless because you've given an answer and then nailed it to the wall well out of reach of the average user. I've been maintaining my WordPress installation for a few years but I couldn't readily find any useful info about where to create or modify the cached_mobile_groups filter.

    Is there a simple way I can specify the groups array so that wpTouch and wp-super-cache serve different cached pages for iPhone & iPad without having to wade through the docs?

    Does it go in Functions.php?
    Does it go in wpTouch?
    Could you create a settings filed for it?

    Is this all to hard for the average user? That kinda narrows your audience. A lot.

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. cadbloke
    Member
    Posted 2 years ago #

    As a workaround I have added "ipad" to the excluded agents list.

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Does wptouch have a form where you can modify the user agent list? Reload the WP Super Cache settings page if there is one and you change it.

  4. cadbloke
    Member
    Posted 2 years ago #

    WP Touch have a page on using wp-super-cache which is behind a paywall. They just tell you to post all of these user agents in the rejected agents box, delete the cache and limp along:

    iphone
    ipod
    ipad
    pre
    pixi
    iemobile
    aspen
    incognito
    webmate
    android
    dream
    cupcake
    froyo
    blackberry9500
    blackberry9520
    blackberry9530
    blackberry9550
    blackberry 9800
    blackberry 9780
    blackberry 9850
    blackberry 9860
    webos
    s8000
    bada
    googlebot-mobile
    adsbot-google

    That's a copout if you ask me - it works fine using the workaround above for caching iPhone pages, there just needs to be a separate group for the iPad because it uses a different theme.

    Looking into the future (well, now because it was just released) there are iOS6 variations as well. My point here is that the groups of user-agents needs to be an easy thing to configure. I didn't come to WordPress to be a WordPress coder, I came to WordPress to write content. Making it easy to configure is your job, not mine. It's all well and good to have a top-notch caching plugin (and wpSC is) but if it is a pig to use then it is of very little value. If I can't configure it I will dump it.</ rant>

    Sorry about the rant - I just wish the last step was there - you've written a great infrastructure then stopped short of implementing it in a usable manner.

    It is a great plugin, btw - I have been using it for years on my $100 /yr host and it really does speed my page loads up tremendously. Compare...
    With: http://www.webpagetest.org/result/120912_DP_M9A/
    Without: http://www.webpagetest.org/result/120918_GW_R09/

    It works brilliantly, when it works.

  5. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    That is a cop out and obsolete because of the wptouch plugin in WP Super Cache.

    Mobile support should be better, but it takes time and that's something I don't have these days :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic