large Lay Theme transients causing critical autoload issue
-
WordPress Site Health reports a critical issue because my site has several large autoloaded options. The biggest entries are Lay Theme transients such as transientlaylayoutmastercache and transientlaylayoutprojectoverlay, together accounting for more than 3 MB.
Is this expected behaviour in Lay Theme, and can these caches be stored without autoloading them on every request?
-
Hey there! Those are not loaded with every request, no.
Actually, those make your site load faster because once your site is loaded, this cache is then loaded in afterwards and the Gridder jsons, so the Gridder data of the cached pages, is then put into JavaScript memory.
This will make the site navigation near-instant, as long as ajax is used.
Only if your site has AJAX enabled. Otherwise, this won't load at all, as it's not needed.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login