Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making Woocommerce work #6

Open
Valks opened this issue Feb 13, 2017 · 0 comments
Open

Making Woocommerce work #6

Valks opened this issue Feb 13, 2017 · 0 comments

Comments

@Valks
Copy link

Valks commented Feb 13, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant