Support » Plugin: Asset CleanUp: Page Speed Booster » Elementor mantainance mode intergraion with the lite version of the plugin

  • Resolved farterazvan


    Hey guys,

    I use the Lite, free version of the plugin and I am trying to apply the capabilities on Elementor’s “Maintenance Mode” template page, which seems to be a custom post type.
    I am unable to find in the Lite version of the plugin a configuration that would work for this Elementor page.
    I found the id of the post in the datbase, but I don’t seem to find an option to offload CSS or JS based on ID.

    Basically Elementor’s Mantainance mode works like:
    – if user logged in as administrator, then see the homepage which is still under construction. I can offload from this page the CSS and JS successfully.
    – if user not logged in, the on the same URL path, see a “Coming Soon” page, a page which loads all the CSS and JS files enqueued in WordPress.

    Do you have any idea how could I cover this need? Is this covered in the PRO version?

    I also found out code based solutions for functions.php, but I would like to try with your plugin at first.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabe Livan


    @farterazvan my sincere apologies for this late reply! I’ve installed Elementor and did a few tests. Asset CleanUp does not support handling CSS/JS for Elementor templates. Now, if you go to /?elementor_library=maintenance-mode (just an example), it will list the CSS/JS (if “Manage in the front-end” is enabled in Asset CleanUp) and you can manage what loads or not, but when the actual page loads for the visitors, due to the way Elementor loads it, it will not apply the changes from the template. It is a custom post type, but it has to be loaded in a different way, due to the fact that it’s a template (saved as a custom post type in WordPress) associated with an actual page (in this case the homepage loads that template).

    So, what I would need to do (I had this request before) is do some changes to Asset CleanUp that will work smoothly with Elementor, allowing the CSS/JS to be managed properly. As many people use Elementor and they often put their websites in maintenance mode, it would be a great thing to add as these kinds of pages are usually very light and you can strip so much CSS/JS that is not needed there. And no, the PRO version doesn’t have this support either. It will be added for both LITE and PRO very soon.

    I’ll keep you updated when this compatibility change will be applied to the plugin 😉

    Thread Starter farterazvan


    Hello Gabe.

    Thanks a lot for reaching me. I am still willing to use Asset CleanUp for this project and for future projects. I am interested about this functionality. I’ll keep an eye on the project. Let me know if I can help.

    For the moment, as I have the site in mantainance mode I deactivated all other plugins besited Elementor and Elementor PRO. Still some resources I don’t need are loaded. I got 10 users today on the site and 270 requests hit my site. Some are just unecessary. It’s not a lot as for now. But in some way, I could say it is a lot, for a page that does nothing but displays an image and some text.

    Really glad you considered this. Yeah, I also think this is a custom post type from Elementor, although I couldn’t really see it listed when checking with Asset Cleanup. I don’t think it’s a wordpress custom post type, didn’t see it registered anywhere else. Not even in elementor’s settings, where I could specify which custom post types I can edit with elementor. Although it could be a “Template” from Elementor Templates menu. I remember I saw the coming soon page template displayed there. It would be a nice thing for AssetCleanup to support Templates.

    Thanks a lot for the involvement and for the support. Amazing product! Really glad I found about it.

    Plugin Author Gabe Livan


    UPDATE: The development version of Asset CleanUp has been updated with a change to allow you to unload CSS/JS files if Elementor’s maintenance / coming soon mode is enabled. This compatibility is in beta mode and it will be polished in a future release. For now, because you and other Elementor users might need it sooner, here’s how you can use it:

    1) Replace the current version of Asset CleanUp that you have with the development version:
    2) Enable “Manage in the Front-end” within “Settings” -> “Plugin Usage Preferences
    3) Access the homepage appending /?elementor_library=maintenance-mode or /?elementor_library=coming-soon which will load the Maintenance / Coming Soon page. It should be mentioned there at the beginning of the list: “elementor_library post type“. Do the changes you need and they will be applied. It’s been working fine on all my tests.

    Let me know if you decide to give it a go! I’d be glad if it works out!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Elementor mantainance mode intergraion with the lite version of the plugin’ is closed to new replies.