• Hi,

    A couple of years ago there was a discussion here – which was never resolved – on the rewrite rules that WPSC creates.

    When enabling mobile device support in WPSC, and with different themes for desktop and mobile enabled via a third-party plugin, WPSC creates separate static files for mobile and for desktop:

    index.html
    index.html.gz
    index-mobile.html
    index-mobile.html.gz

    This is great, however the rewrite rules that WPSC creates tell Apache to NOT use the static files when the user-agent is a mobile device – so essentially, mobile users get NO static cached pages at all!

    With about 60% of our traffic nowadays coming from mobile, this makes no sense and the effectiveness of WPSC is deteriorating and becoming marginalized.

    I am wondering WHY this is done this way? And is there any plan to change this? I should think adding the relevant rewrite rule blocks to direct requests to index-mobile should be very easy (and it’s already done for index-https for example).

    Thank you,

    Bira

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

Viewing 1 replies (of 1 total)
  • however the rewrite rules that WPSC creates tell Apache to NOT use the static files when the user-agent is a mobile device

    This is bit strange. Probably, you haven’t updated the htaccess file or the plugin doesn’t have enough permission to update it at the moment. If you have updated the mod rewrite rules and yet see this issue, could you please share the content of the htaccess file?

Viewing 1 replies (of 1 total)
  • The topic ‘Serving mobile devices the static index-mobile.html.gz files’ is closed to new replies.