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

Addons for external cache systems #3

Open
luisherranz opened this issue Nov 12, 2020 · 0 comments
Open

Addons for external cache systems #3

luisherranz opened this issue Nov 12, 2020 · 0 comments

Comments

@luisherranz
Copy link
Contributor

luisherranz commented Nov 12, 2020

Hey guys, I would love to start a discussion to see if it would be possible to add an addon system, as proposed by @richardkorthuis when I mentioned this.

External cache systems that could benefit from this:

I guess that what needs to happen is:

  • The plugin doesn't need to save the response and headers in the database anymore, only the relations. I guess this can be optional, depending on each addon and even website it could make sense to turn this on or off.
  • The plugin should allow other systems (addons) to use filters/actions when it is:
    • Saving resources. For example, for setting Cache Tags before the response is sent.
    • Purging the resources, to purge them as well in the external system.

I was also thinking if it would be possible to integrate this with page cache plugins like SuperCache because those are the "owners" of the advanced-cache.php file and therefore the only ones that can bypass the WordPress load.

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