Closed cjsewell closed 8 years ago
Hey @cjsewell I know this is a very late reply but I would remove theelse $enabled = true
part as this could interfere with other extensions and behaviours from disabling caching.
Hey, no worries I know how it can be.
Thanks for the feedback. This is the final version and seems to do the trick FrontEndAdminDynamicCacheExtension.php
This is not a bug, more of a help request. I have created a module to allow admins to edit CMS pages on the front end (Frontend Admin).
The issue with DynamicCache is that when an admin logs in, they see the cached page, and not the page with the additional javascript that Frontend Admin adds. If I flush while logged in, then guests see the cached page with Frontend Admin
I have created an extension, which checks to see if you are logged in using Session, then if the DB is not connected, it connects it, then if you have access to LeftAndMain it disables DynamicCache:
While this seems to work, I would like your input if it is the best approach?
Thanks