Content No Cache | Serve uncached partial content even when you add it to a page that is fully cached.
Normally, if a web page is served by the cache, its content will be always the same until the cache is deleted. By adding the content with the shortcode provided by Content No Cache, you will be able to show dynamic content even on pages served by cache. You don’t need this plugin to exclude the entire page from the cache. This plugin is to exclude a part of the page from the cache. It’s useful if you need to cache a page, but part of that page should not be cached. Imagine you have a page that has this content: Hello this is some text. Another line of text Another line of text Current day: Monday if that page is served by cache, the user will always see: Hello this is some text. Another line of text Another line of text Current day: Monday If you need that the last line of text is always updated, this plugin will help you. The entire page will be served by the cache, but the plugin will get the updated content that you need. How to show dynamic content with full page cache Install Content No Cache Create a new element “Content No Cache” Add to that element all the content that you want to exclude from the cache Copy the shortcode that you will see in the section “Shortcode”. It will look like [content_no_cache id=”3328″]. The parameter “id” is the ID of the content element (in this example 3328). Add the shortcode to the page where you want to display that content. Compatible caching plugins tested with Content No Cache W3 Total Cache WP Fastest Cache WP Optimize Comet Cache Cache Enabler Hyper Cache WP Super Cache LiteSpeed Cache Speed Optmizer WPRocket All of those caching plugins are compatible with Content No Cache. If your favorite caching plugin is not compatible for any reason, let us know it Compatible CDNs Cloudflare BunnyCDN StackPath KeyCDN Fastly CloudFront Main features Ultralightweight plugin. The few lines of code will run only where you add the shortcode. No jQuery, no JS libraries, only a couple of lines of pure JavaScript No database queries, no extra HTTP requests for external assets, no bloat With a few line of ultralight code you can fully cache the page even if you need dynamic content on that page It provides a shortcode, so you can add it everywhere, no matter the builder Tips to speed up the process to get the content Install Freesoul Deactivate Plugins Go to Freesoul Deactivate Plugins => Actions => Content No Cache Disable all the plugins that you don’t need to output the content Example You can see Content No Cache in action visiting the blog post Exclude specific content from being cached. You will see a number that is always different when you refresh the page. But the page is served by full page cache. In the example it’s just a number, but you can output whatever content you want. Possible conflicts Some plugins don’t load the shortcodes during ajax requests. Because Content No Cache retrieves the content through ajax, in those cases the content will not be displayed properly. If you have this kind of issue set the parameter request=”remote”. In this case the shortcode will look like [content_no_cache id=”3328″ request=”remote”] The plugin will retrieve the content in a different way that will be a little slower, but this will solve this kind of conflict. Help If something doesn’t work for you, don’t hesitate to open a thread on the Support Forum Please, before posting enable the debugging in wp-config.php. Need a step-by-step guide? Read this detailed tutorial on how to enable debugging in WordPress to learn more. Backend Speed Optimization Is your dashboard slow? I optimize admin performance by improving queries and plugin load. Read Backend Speed Optimization for more information.
Top keywords
- cache29×4.43%
- content27×4.13%
- page15×2.29%
- content no cache10×1.53%
- shortcode7×1.07%
- text7×1.07%
- line6×0.92%
- line of text5×0.76%
- served5×0.76%
- add4×0.61%
- always4×0.61%
- another4×0.61%
Speed Booster Pack ⚡ PageSpeed Optimization Suite
Improving your site’s speed will get you a better score on major speed testing services such as Google PageSpeed, GTmetrix, Pingdom, WebPageTest and will also improve your overall site’s usability. This will help Google and other search engines to rank your site higher in search results thus sending more traffic. Speed Booster Pack is maintained & operated by Optimocha, a company that offers special speed optimization services filled with people who obsess about speed! Benefits of Speed Booster Pack Each second of delay can cause up to 20% loss in conversion rates (source: Google). “Conversion” means converting visitors to something more than a “visitor”: leads, customers, subscribers, followers… you name it. You might lose more than half of your visitors if your website loads slower than three seconds! (source: Google again) More than half of your potential customers might get back to the search results page and navigate to your competitor. This is a huge problem, and it’s hugely overlooked among other SEO-related concerns. People don’t realize how important speed is, in the eyes of search engines. That’s where Speed Booster Pack comes in: With its ever-evolving codebase, Speed Booster Pack aims to increase your site performance, page load times and PageSpeed (Lighthouse) scores! Optimocha, the company behind Speed Booster Pack, has a team with a pathological obsession for speed; so you can be sure that your site will be in good hands. How to optimize PageSpeed Core Web Vitals metrics with Speed Booster Pack With our huge set of features, of course! ⭐ Core Web Vitals: Speed Booster Pack is made to improve your Largest Contentful Paint (LCP), Interaction to Next Paint (INP) and Cumulative Layout Shift (CLS) metrics, which are also known together as Core Web Vitals. (The First Input Delay (FID) metric is being replaced by INP, but Speed Booster Pack also improves FID and its lab counterpart, Total Blocking Time (TBT).) With the right configuration, you can get your PageSpeed scores higher than ever! ⭐ Caching: Cache your pages into static HTML files, reduce database queries, get a faster website almost immediately. What’s not to love about caching? ⭐ Optimize Google Fonts: Did you know that there are better ways to load Google fonts? We like to brag about finding one of the best ways. ⭐ Lazy Load: It’s a disheartening issue that page speed tools encourage laziness… Just kidding, we love being lazy. And search engines will love your pages when you enable lazy loading for images, videos and iframes (except for the above-the-fold stuff, trust us). ⭐ Optimize JavaScript: You know that totally-not-cryptic “Remove Render-Blocking JavaScript” recommendation? Speed Booster Pack can help defer them all until after the whole HTML is rendered, or at least move all scripts to footer. Works like a charm. ⭐ Optimize CSS: Who needs all those different CSS files when you can inline them all into your page source? Especially when your CSS footprint is so small? Moreover, you can use the “Critical CSS” feature to essentially lazy-load all your CSS except for the CSS for above-the-fold. ⭐ Preload Assets: Have some fonts that load in all your pages, or a script, or some CSS files? Preloading them will help modern browsers serve your pages way faster! ⭐ WooCommerce Optimizations: Disable cart fragments, change Action Scheduler’s retention period, disable things like WooCommerce Marketing and WooCommerce Analytics… and more to come! ⭐ Dequeue Core Scripts/Styles: Dashicons, jQuery Migrate, emoji script, post embed script… If you don’t need them, you can now choose to prevent them from loading in the first place… which can get you to the first place on your Google SERPs. ⭐ Localize Google Analytics & Tag Manager: Tracker scripts aren’t the worst things that’ll slow your pages down, but they cause the most “recommendations”. Localizing Google Analytics and/or Google Tag Manager is a good idea to speed up your website then, right? Right? ⭐ Enable CDN: Integrate your content delivery network to your website by rewriting all static asset URLs with your CDN domain. ⭐ Cloudflare & Sucuri Integration: Connect to your Cloudflare or Sucuri account so you can clear your cache every time your page cache is cleared. ⭐ Declutter HEAD: Do you think all that useless junk in your should be gone? Us too! You know what they say: A clear works faster. ⭐ Other Features: Minify HTML, enable instant.page, trim query strings, disable self pingbacks, optimize the Heartbeat API, set a limit for post revisions, change autosave interval… Did we forget anything? We’re constantly working on new features so stay tuned for more and more on every major release! For complete usage instructions, you can visit the Speed Booster Pack documentation page. Translators are always welcome & always rewarded! More than half of WordPress users don’t speak English, and missing out so much! That’s why Optimocha is always looking for volunteers to translate Speed Booster Pack so more and more people can benefit from its goodness. Oh, and we reward the people who help us! Reach out to us to become a translation editor in your language, and get rewarded with special discount codes of our services! About Optimocha Speed Optimization Services Speed optimization plugins might do a great job at optimizing your website and increasing your PageSpeed scores, but even they can’t perform well on websites with poor setups. There are lots of factors to think about when it comes to web performance optimization. That’s where we, as Optimocha, come in: We log in to your website; create a specialized optimization report considering all your plugins, your theme settings, your hosting environment and your whole content; then we get our hands dirty to get your website as fast as possible. To learn more about our services and get in touch with us, here are some links: One-time speed optimization services Monthly speed optimization & maintenance services Contact Optimocha Disclaimer Even though the plugin works perfectly well on most WordPress websites, it’s not perfect. We just need to make sure that we’re on the same page: This plugin, no matter how hard we work on it, might have bugs in it and your site has an off chance to have issues with the plugin. It doesn’t do anything permanent to your pages’ source codes, so deactivating the plugin and clearing your browser & server caches will solve any kind of issue it might cause. Other than that, we won’t be able to take responsibility if something else clashes with Speed Booster Pack.