Title: Disable Version Caching &#8211; Khanakia
Author: mrkhanakia
Published: <strong>29 مارس 2019</strong>
Last modified: 30 نوامبر 2020

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/disable-version-caching/assets/icon-256x256.png?rev=2356170)

# Disable Version Caching – Khanakia

 توسط [mrkhanakia](https://profiles.wordpress.org/mrkhanakia/)

[دانلود](https://downloads.wordpress.org/plugin/disable-version-caching.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/disable-version-caching/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/disable-version-caching/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/disable-version-caching/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/disable-version-caching/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/disable-version-caching/)

## توضیحات

Are you a frontend developer? Do you want to clear browser cache for all users? 
Just activate this plugin and show your work!

Disable Version Caching allows you to update the assets version of all CSS and JS
files automatically or manually in one click.

Now you can show the latest changes on the site without asking the client to clear
the cache.

#### How it works?

Usually, WordPress loads assets using query param “ver” in the URL (e.g., style.
css?ver=4.9.6). It allows browsers to cache these files until the parameter will
not be updated.

To prevent caching of CSS and JS files, this plugin adds a unique number (e.g., 
1526903434) to the “ver” parameter (e.g., style.css?ver=4.9.6.1526903434) for all
links, loaded using wp_enqueue_style and wp_enqueue_script functions.

#### For developers

By default, this plugin updates all assets files every time a user loads a page 
and adds options in the admin panel (Settings -> Disable Version Caching) which 
allows you to configure updating of these files.

But you can also set the version of CSS and JS files programmatically.

Just insert this code in functions.php file of your theme and change the value of
assets_version when you need to update assets:

    ```
    disable_version_caching( array( 
        'assets_version' => '123' 
    ) );
    ```

## نصب

#### From WordPress dashboard

 1. Visit “Plugins > Add New”.
 2. Search for “Disable Version Caching”.
 3. Install and activate Disable Version Caching plugin.

#### From WordPress.org site

 1. Download Disable Version Caching plugin.
 2. Upload the “disable-version-caching” directory to your “/wp-content/plugins/” directory.
 3. Activate Disable Version Caching on your Plugins page.

## نقد و بررسی‌ها

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

### 󠀁[We use it all of our websites!!!](https://wordpress.org/support/topic/we-use-it-all-of-our-websites/)󠁿

 [Erman Küplü](https://profiles.wordpress.org/ekuplu/) 11 آوریل 2021

Great work thanks a lot! We use it all of our websites!!!

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

### 󠀁[Great help](https://wordpress.org/support/topic/great-help-135/)󠁿

 [A. Jones](https://profiles.wordpress.org/nomadcoder/) 10 آوریل 2019

Nice addition for sites that are in development!

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

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-7513/)󠁿

 [mrkhanakia](https://profiles.wordpress.org/mrkhanakia/) 29 مارس 2019

This is a great plugin. Thanks

 [ خواندن تمامی 3 نقد و بررسی‌ ](https://wordpress.org/support/plugin/disable-version-caching/reviews/)

## توسعه دهندگان و همکاران

“Disable Version Caching – Khanakia” نرم افزار متن باز است. افراد زیر در این افزونه
مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ mrkhanakia ](https://profiles.wordpress.org/mrkhanakia/)

[ترجمه “Disable Version Caching – Khanakia” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/disable-version-caching)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/disable-version-caching/)،
[مخزن SVN](https://plugins.svn.wordpress.org/disable-version-caching/) را بررسی 
کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/disable-version-caching/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/disable-version-caching/)
مشترک شوید.

## گزارش تغییرات

#### 1.0

 * First version of Disable Version Caching plugin.

## اطلاعات

 *  نگارش **1.0.1**
 *  آخرین به‌روزرسانی **6 سال پیش**
 *  نصب‌های فعال **200+**
 *  نگارش وردپرس ** 4.0 یا بالاتر **
 *  آزمایش‌شده تا **5.5.18**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/disable-version-caching/)
 * برچسب
 * [assets](https://fa.wordpress.org/plugins/tags/assets/)[browser cache](https://fa.wordpress.org/plugins/tags/browser-cache/)
   [clear](https://fa.wordpress.org/plugins/tags/clear/)[development](https://fa.wordpress.org/plugins/tags/development/)
   [Frontend](https://fa.wordpress.org/plugins/tags/frontend/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/disable-version-caching/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 3 5-ستاره     ](https://wordpress.org/support/plugin/disable-version-caching/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/disable-version-caching/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/disable-version-caching/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/disable-version-caching/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/disable-version-caching/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/disable-version-caching/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/disable-version-caching/reviews/)

## مشارکت کنندگان

 *   [ mrkhanakia ](https://profiles.wordpress.org/mrkhanakia/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/disable-version-caching/)