جلوگیری از کش کردن css

جلوگیری از کش کردن – cssPrevent CSS Caching # وردپرس: <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); echo ‘?’ . filemtime( get_stylesheet_directory() . ‘https://cdn.css-tricks.com/style.css’); ?>” type=”text/css” media=”screen” /> # bbPress: <link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); echo ‘?’ . filemtime( bb_get_active_theme_directory() . ‘https://cdn.css-tricks.com/style.css’); ?>” type=”text/css” media=”screen” />  

جلوگیری از کش کردن – cssPrevent CSS Caching

# وردپرس:

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo '?' . filemtime( get_stylesheet_directory() . 'https://cdn.css-tricks.com/style.css'); ?>" type="text/css" media="screen" />

# bbPress:

<link rel="stylesheet" href="<?php bb_stylesheet_uri(); echo '?' . filemtime( bb_get_active_theme_directory() . 'https://cdn.css-tricks.com/style.css'); ?>" type="text/css" media="screen" />