Title: Caching Elementor styles+scripts
Last modified: April 15, 2021

---

# Caching Elementor styles+scripts

 *  Resolved [Nate1](https://wordpress.org/support/users/nate1/)
 * (@nate1)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/caching-elementor-stylesscripts/)
 * Hello,
 * When running Elementor, with database cache enabled the Elementor enabled pages
   do not load the styles+scripts correctly on first load.
 * The pages can be loaded manually by a logged in user and then will work.
 * But I was wanting to know how I could exclude elementor items from the database
   cache?
 * Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/caching-elementor-stylesscripts/#post-14326208)
 * Hello [@nate1](https://wordpress.org/support/users/nate1/)
 * Thank you for reaching out and I am happy to help!
    Can you please share which
   caching method you are using for DB caching and if you are on a shared server
   or VPS/Dedicated? I am asking this because if on a shared server and caching 
   to disk, DB cache often slows down your website and is causing issues like this.
   So it’s recommended to use memory-based caching like Redis or Memcached which
   are most of the time available only after upgrading the hosting plan. I cannot
   say specifically what needs to be excluded, however, you have the options in **
   Performance>Database cache:** **Ignored query stems:** (Do not cache queries 
   that contain these terms. ) **Reject query words:** (Do not cache queries that
   contain specific words or regular expressions) **Reject constants:**(Disable 
   caching once specified constants defined.) Thanks!
 *  Thread Starter [Nate1](https://wordpress.org/support/users/nate1/)
 * (@nate1)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/caching-elementor-stylesscripts/#post-14329686)
 * Hello Marko,
 * We are running 3.6Ghz web servers, DDR4, with NVMe harddrives (VPS). So not particularly
   slow, and all sites on the servers are managed in house.
    I may have to do some
   tests in Redis to validate whether that is the case.
 * But thanks for the notes on the stems, etc, will post which can be excluded once
   I track them down and test.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Caching Elementor styles+scripts’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Nate1](https://wordpress.org/support/users/nate1/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/caching-elementor-stylesscripts/#post-14329686)
 * Status: resolved