Nowadays, many website using Cache System to accelerated Website. The issues with cache technologies is we can’t get Live Version our modified design via (CSS), it’s because our site stylesheet already cached. So we need really hard to get the latest version of our modified design/UI.
Now.. we will share the simplest solution to make our design will be live immediately and bypass Cache System. To do that we need to add extra code and create another .css files to make this code always got the latest version. We use WordPress functions that called
Here is the simply way to bypass Cache System on our CSS files on WordPress.
- The first step, you need login to your WordPress Server via FTP. Because we need to create one files (example me.css) and of course we need modified and added extra line of code on our functions.php
- Login to your Server via FTP and goes to your current theme and add
- Now, open
functions.phpthen add this code
I will explain, the code that we put on functions.php is to bypass Web Cache System. Because we added MD5 in the end of
So each time our site requested, web server alway request NEW
me.css, so the latest modified will be used.
Don’t forget to check my First Tutorial about Create Breadcrumb Google Friendly Rich Snippet
It’s easy right? The code we used is taken from my brothers Pak TED
source images via Flickr