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

caching issue? #83

Open
gixxy22 opened this issue Jun 14, 2022 · 1 comment
Open

caching issue? #83

gixxy22 opened this issue Jun 14, 2022 · 1 comment

Comments

@gixxy22
Copy link

gixxy22 commented Jun 14, 2022

If I cache the output of a LARGE text field from a Global using the {% cache %} tag within a preParse field, it doesnt seem to fetch from cache on subsequent loads.

Using directly on a web template, the first page load is 140ms, and subsequent loads are 30ms.

Using within a preparse field, the load is always 140ms.

Does preParse bypass cache tags? Is this by design? Is there a way to utilize the cace?

@gixxy22
Copy link
Author

gixxy22 commented Jun 14, 2022

i have figured whats causing it, but not sure about a fix?

on FeedMe imports, when using a preParse field, and "runQueueAutomatically" is set to true, its utilizing the cache tags.

If the queue is run via console, the cache tags are not utilized and each entry takes a million years to import.

Not sure if this is a preParse issue or a Craft issue?

Any way of a fix?

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