Filter to intercept cached static HTML files, right before they are serverd.
-
I have 3 domains that share the same files and single database. So when a page/post cache happens, all HTML URLs are cached with the URL from which the request is coming from.
But if another user access for example the 2nd domain URL, then the cached page will work incorrectly, because the page source contains all URLS from the other domain. I hope this makes sense ??
Is there a way to intercept the cached static files (using a filter) generated by WP Super Cache, right before they are served to visitors, so I can replace the domain dynamically based on the actual request?
I looked in the plugin files for hooks, tried several, could not get anything to work.
Thanks for your help.
- You must be logged in to reply to this topic.