Title: Set dynamic cache timeout
Last modified: September 2, 2019

---

# Set dynamic cache timeout

 *  Resolved [ashishdas](https://wordpress.org/support/users/ashishdas/)
 * (@ashishdas)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/set-dynamic-cache-timeout/)
 * Hi Siteground, is there any way to set the “timeout” or for how long a page is
   stored within the L2 Dynamic Cache.
 * Most pages on my website will take about 2-3 seconds to load on first load, and
   then load super fast (sub 1s) if I access it the same session, or from another
   browser immediately after the first load has been completed.
 * However this first load doesn’t seem to last long. i.e. The load time is back
   to 2-3 seconds not long after? Note that nothing has changed on these pages i.
   e. No new posts, updates etc.

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

 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [6 years, 9 months ago](https://wordpress.org/support/topic/set-dynamic-cache-timeout/#post-11890419)
 * Hey [@ashishdas](https://wordpress.org/support/users/ashishdas/)
 * Would it be possible to provide your site url please, so I can check it?
 * Regards,
    Stanimir
 *  Thread Starter [ashishdas](https://wordpress.org/support/users/ashishdas/)
 * (@ashishdas)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/set-dynamic-cache-timeout/#post-11892349)
 * Hi Stanimir,
    It is: [https://www.modsie.com.au/](https://www.modsie.com.au/)
   Thanks
 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [6 years, 9 months ago](https://wordpress.org/support/topic/set-dynamic-cache-timeout/#post-11892639)
 * Hey [@ashishdas](https://wordpress.org/support/users/ashishdas/)
 * I’ve checked your site and there is a facebook pixel scripts, which is dynamically
   generated, but it’s also cached.
 * The script name is changing every sometimes, and when a visitor open a cached
   page, the script is missing, which leads to bigger load time.
 * After I cleared the Cloudflare cache, the page time went from ~3s to 1s.
 * Here is the path to the script `public_html/wp-content/cache/busting/facebook-
   tracking/fbpix-config-114313048902160-2.9.4.js`.
 * Regards,
    Stanimir
 *  Thread Starter [ashishdas](https://wordpress.org/support/users/ashishdas/)
 * (@ashishdas)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/set-dynamic-cache-timeout/#post-11901418)
 * Hi, thanks for that.
    I seem to be now having issues where even after a person
   has logged in, some pages are being served from the cache. Steps to replicate:
   1. Visit modsie.com.au 2. Visit a few pages, i.e. Bags, Shoes etc to ensure pages
   are loaded into cache 3. Login 4. Visit the same pages again i.e. Bags, Shoes
   etc. the page is displayed from cache (i.e. no use logged in)

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

The topic ‘Set dynamic cache timeout’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ashishdas](https://wordpress.org/support/users/ashishdas/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/set-dynamic-cache-timeout/#post-11901418)
 * Status: resolved