Title: Content No Cache | Serve uncached partial content even when you add it to a page that is fully cached.
Author: Jose Mortellaro
Published: <strong>ئازار 2, 2022</strong>
Last modified: كانونی یه‌كه‌م 10, 2025

---

گەڕان لە پێوەکراوەکان

![](https://ps.w.org/content-no-cache/assets/banner-772x250-rtl.png?rev=2687570)

![](https://ps.w.org/content-no-cache/assets/icon-256x256-rtl.png?rev=2687570)

# Content No Cache | Serve uncached partial content even when you add it to a page that is fully cached.

 لەلایەن [Jose Mortellaro](https://profiles.wordpress.org/giuse/)

[داگرتن](https://downloads.wordpress.org/plugin/content-no-cache.0.1.5.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/content-no-cache/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/content-no-cache/#reviews)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/content-no-cache/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/content-no-cache/)

## وەسف

Normally, if a web page is served by the [cache](https://wordpress.org/plugins/search/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](https://wordpress.org/plugins/search/cache/).

This plugin is to exclude a part of the page from the [cache](https://wordpress.org/plugins/search/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](https://wordpress.org/plugins/search/cache/)󠁿 tested with Content No Cache

 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [WP Fastest Cache](https://wordpress.org/plugins/wp-fastest-cache/)
 * [WP Optimize](https://wordpress.org/plugins/wp-optimize/)
 * [Comet Cache](https://wordpress.org/plugins/comet-cache/)
 * [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)
 * [Hyper Cache](https://wordpress.org/plugins/hyper-cache/)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Speed Optmizer](https://wordpress.org/plugins/sg-cachepress/)
 * [WPRocket](https://wp-rocket.me/)

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](https://www.cloudflare.com/)
 * [BunnyCDN](https://bunny.net/cdn/)
 * [StackPath](https://www.stackpath.com/)
 * [KeyCDN](https://www.keycdn.com/)
 * [Fastly](https://www.fastly.com/)
 * [CloudFront](https://aws.amazon.com/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](https://wordpress.org/plugins/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](https://josemortellaro.com/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](https://wordpress.org/support/plugin/content-no-cache/)

Please, before posting enable the debugging in wp-config.php. Need a step-by-step
guide? Read [this detailed tutorial](https://freesoul-deactivate-plugins.com/how-to-enable-debugging-in-wordpress-a-step-by-step-guide/)
on [how to enable debugging in WordPress](https://freesoul-deactivate-plugins.com/how-to-enable-debugging-in-wordpress-a-step-by-step-guide/)
to learn more.

### Backend Speed Optimization

Is your dashboard slow? I optimize admin performance by improving queries and plugin
load.
 Read [Backend Speed Optimization](https://josemortellaro.com/backend-speed-optimization/)
for more information.

## پێداچوونەوەکان

![](https://secure.gravatar.com/avatar/7bfc2d530d97caa0820ee02b683ae2af30e72d39a45969b4cd0d08cec02d48dd?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin could be more excellent](https://wordpress.org/support/topic/excellent-plugin-could-be-more-excellent/)󠁿

 [monoor](https://profiles.wordpress.org/monoor/) تەممووز 7, 2024 1 reply

Excellent plugin. A few suggestions: 1- The possibility of load or update with user’s
click on content or another element, not only with page loading. 2- Timing for ajax
actions. 3- And the possibility of choosing these for each content. 4- Change or
remove loading (that gif).

![](https://secure.gravatar.com/avatar/b8b5d05f16c9f7a56e2e008a523e8bbb27f52a91f8692e8265f2831d7063f2d7?
s=60&d=retro&r=g)

### 󠀁[Lightweight Plugin | Best-In-Class Support](https://wordpress.org/support/topic/lightweight-plugin-best-in-class-support/)󠁿

 [Generosus](https://profiles.wordpress.org/generosus/) تەممووز 6, 2024

This plugin will soon be the most popular and sought-after plugin in the world. 
Currently, it’s well undervalued. At first we were hesitant to use this plugin, 
but after receiving stellar support from Jose (developer), we were able to disable
the caching of web page dynamic content — all without any site issues or console
errors. Kudos to the developer. This is a must-have plugin!

![](https://secure.gravatar.com/avatar/cb9b255c7a93ff5d32ba03b68d238ce8d96aa62df4301dd30572783f07f9a57f?
s=60&d=retro&r=g)

### 󠀁[Works fine and is a big help on LiteSpeed!](https://wordpress.org/support/topic/works-fine-and-is-a-big-help-on-litespeed/)󠁿

 [terabyten](https://profiles.wordpress.org/terabyten/) ئازار 5, 2024

Works fine and is a big help on LiteSpeed!

![](https://secure.gravatar.com/avatar/8331c2c1d1cc0e7c8ae2a8b42e5a9da23e82e01cfcc50cb54c557060ac150aa8?
s=60&d=retro&r=g)

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-2731/)󠁿

 [floow95](https://profiles.wordpress.org/floow95/) شوبات 3, 2024

Does the job, as it should be. no issues at all.

![](https://secure.gravatar.com/avatar/7dfbdaccccb0a00dc84373aac8939ebf0457c3b6b7819b0d4e69ab1b7f595718?
s=60&d=retro&r=g)

### 󠀁[Fantastic Plugin !!](https://wordpress.org/support/topic/fantastic-plugin-1929/)󠁿

 [advwebmaster777](https://profiles.wordpress.org/advwebmaster777/) كانونی یه‌كه‌م
14, 2023 1 reply

This is a fantastic plugin. I am a Pro user, and it’s compatible with Gutenberg 
Editor, making it very user-friendly. Jose promptly fixed any errors that occurred.
The Pro version is still new, so patience might be needed, but I hope this plugin
continues to develop and improve.

![](https://secure.gravatar.com/avatar/6cbbf0bb58bb19f360de7cc6112b99df0e2ccfba6c311d07ced51e5b0d3b5ede?
s=60&d=retro&r=g)

### 󠀁[Cache shortcode](https://wordpress.org/support/topic/cache-shortcode/)󠁿

 [laellou](https://profiles.wordpress.org/laellou/) تشرینی دووه‌م 10, 2023 1 reply

I use your plugin to prevent a shortcode from cache, it worked wonderfully until
the last update, the plugin no longer loads my shortcode I have a loading wheel 
and nothing happens

 [ خوێندنەوەی 19 پێداچوونەوە ](https://wordpress.org/support/plugin/content-no-cache/reviews/)

## بەشداربووان و گەشەپێدەران

“Content No Cache | Serve uncached partial content even when you add it to a page
that is fully cached.” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان
تێدا کردووە.

بەشداربووان

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

[“Content No Cache | Serve uncached partial content even when you add it to a page that is fully cached.” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/content-no-cache)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/content-no-cache/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/content-no-cache/) بکە،
یان بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/content-no-cache/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/content-no-cache/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

#### 0.1.3

 * Fix: The non-published CNC elements were also fetchable. Vulnerability found 
   by Francesco Carlucci.

#### 0.1.2

 * Fix: CNC post types not deleted on plugin deletion
 * Added: filter hook to don’t add the loading style

#### 0.1.1

 * Fix: content not showing with request=”remote”

#### 0.1.0

 * Added: integration with Elementor
 * Added: spinner during the loading of the content

#### 0.0.9

*Added: action hook ‘content_no_cache_before_sending_content’

#### 0.0.8

*Added: content_no_cache_added JavaScript event
 *Added: hooks for future PRO version

#### 0.0.7

*Added: integration with Divi Builder

#### 0.0.6

*Fix: conflict with [All In One SEO](https://wordpress.org/plugins/all-in-one-seo-pack/)
*
Fix: conflict with plugins that don’t load shortcodes during ajax requests. Need
to set the parameter request=”remote” if having issues with the shortcodes

#### 0.0.5

*Fix: malfunction if two or more elements are added to the same page

#### 0.0.4

*Fix: PHP warning

#### 0.0.3

*Added: integration with [Freesoul Deactivate Plugins](https://wordpress.org/plugins/freesoul-deactivate-plugins/).
It’s possible now to disable specific plugins whilte getting the content.

#### 0.0.2

*Fix: semicolon after content

#### 0.0.1

*Initial release

## مێتا

 *  وەشان **0.1.5**
 *  دوایین بەڕۆژکردنەوە **4 مانگ لەمەوبەر**
 *  دامەزراندنی چالاک **200+**
 *  وەشانی وۆردپرێس ** 4.6 یان بەرزتر **
 *  تاقیکراوەتەوە تا **6.9.4**
 *  وەشانی PHP ** 5.6 یان بەرزتر **
 *  زمان
 * [English (US)](https://wordpress.org/plugins/content-no-cache/)
 * تاگەکان
 * [cache](https://ku.wordpress.org/plugins/tags/cache/)[dynamic content](https://ku.wordpress.org/plugins/tags/dynamic-content/)
   [issues](https://ku.wordpress.org/plugins/tags/issues/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/content-no-cache/advanced/)

## هەڵسەنگاندنەکان

 5 out of 5 stars.

 *  [  18 5-star reviews     ](https://wordpress.org/support/plugin/content-no-cache/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/content-no-cache/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/content-no-cache/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/content-no-cache/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/content-no-cache/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/content-no-cache/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/content-no-cache/reviews/)

## بەشداربووان

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/content-no-cache/)