-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I wonder if it is possible for staticache to support a multi-site, single-panel setup.
My setup is as follows:
- panel.mysite.com: Panel only
- site1.com: First site
- site2.com: Second site
If I enable staticache for site1.com and site2.com the pages a cached correctly inside their respective cache directories:
static/site1.com/pagesstatic/site2.com/pages
However, once I update a page in the panel, the cache is not cleared. Which makes sense, since the panel clears the cache directory for its own domain static/panel.mysite.com/pages and doesn’t know anything about the other two cache locations.
So I wonder if there is a way for me to set the cache prefix dynamically to the proper site based on the current page object that has been modified in the panel.
Metadata
Metadata
Assignees
Labels
No labels