WordPress.org

Forums

browser cache and mobilepress? (2 posts)

  1. Chris Abraham
    Member
    Posted 5 years ago #

    Hi,
    I've recently installed MobilePress which is working nicely on streetsblog.org. One issue I'm having, though, is that mobilepress seems to be forcing pages to reload every time a user goes to them instead of using the browser cache. It does this by calling session_start() I think and this sets the response headers:
    Cache-Control: no-cache...
    Pragma: no-cache.
    As soon as I turn off mobilepress, I don't get these headers.

    Now, this becomes a problem when, say, someone enters a comment, submits it, and then is told that they didn't enter the math spam protection field properly. They'll hit "Back" to fix the field only to find that the long comment they've entered is no longer there and they have to retype it. Before I installed mobile press we didn't have this problem. The browser would just repopulate the form using the browser cache. This is on the non-mobile theme btw.

    Is there a workaround for this? Could we fix mobilepress to only call the session stuff when a mobile theme is being served?

    Thanks for any help you can give.

    http://wordpress.org/extend/plugins/mobilepress/

  2. joho68
    Member
    Posted 4 years ago #

    There seems to be several issues related to MP being a bit too sticky, and the author(s) don't seem too keen on fixing it either by the looks of posts here and elsewhere. It's a shame, because it's a great idea.

Topic Closed

This topic has been closed to new replies.

About this Topic