Skip to content

Making Woocommerce work #6

@Valks

Description

@Valks

Hi,
I've been working away modifying the blob cache plugin trying to get it working with woocommerce.

Unfortunately I don't seem to have forked this plugin so as a brief list of what I've tried so far.

I've modified the php plugin to not cache any pages with DONOTCACHEPAGE or DONOTCACHEOBJECT defined.

I've added the code in the pull request to skip on POST (added PUT and DELETE also for testing). This fixed the issues regarding account login and other POST issues.

Still there's one big issue around cookies. Session data is been cached which is causing issues for woocommerce. A better explanation of what's happening can be found below:

https://mikejolley.com/2013/12/20/problems-with-cart-sessions-and-woocommerce/

Trying to think of the best way to handle this issue, any thoughts?

side note: For debugging moved the comments for page cache times to after </title> since that'll be at the top).

I also changed to composer for the SDK so it's up to date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions