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

Changing one content element removes all entries in cf_nginx_* #6

Open
rorentz opened this issue Jun 12, 2019 · 1 comment
Open

Changing one content element removes all entries in cf_nginx_* #6

rorentz opened this issue Jun 12, 2019 · 1 comment

Comments

@rorentz
Copy link

rorentz commented Jun 12, 2019

If you change a content element on one page (for example page uid 5), then all entries inside the cf_nginx_* are removed. But why? Only the identifier with tag pageId_5 should be removed, or am i misunderstanding the mechanism?

I am waiting for an answer. Best wishes and i really like the extension!

@bnf
Copy link
Owner

bnf commented Jul 5, 2019

Hm, this works for me.
Are you sure that your TYPO3 instance doesn't have some TCEMAN.clearCacheCmd TSConfig option set for that page?

Otherwise:
I guess this could either be a tagging issue or maybe even a nginx configuration problem.
Try to debug which tags are stored for that page.

Following SQL might help to get the tags that have been assigned to each page:

select cf_nginx_cache_tags.identifier, cf_nginx_cache.content, GROUP_CONCAT(tag)
    from cf_nginx_cache_tags, cf_nginx_cache
    where cf_nginx_cache_tags.identifier = cf_nginx_cache.identifier
    group by cf_nginx_cache_tags.identifier;

And try to debug which tags are flushed when editing that content element (by debugging the values passed to flushByTag).

Can you show (you can also do so in private) the nginx configuration? Maybe the wildcard rule is triggered in any case.

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

2 participants