Title: Code indentation breaks with html/css minify option
Last modified: February 4, 2018

---

# Code indentation breaks with html/css minify option

 *  [HarshS](https://wordpress.org/support/users/harshs/)
 * (@harshs)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/code-indentation-breaks-with-html-css-minify-option/)
 * WPfc is undoubtedly the best cache plugin I’ve ever used, the real fastest of
   many other plugins. Ours is a software programming blog where we publish tutorials
   with code snippets. We use WordPress’s “Code Prettify” plugin which beautifies
   the source code inside the “pre” tag with proper indentation as per the programming
   language used. But with Wpfc, when the html/CSS minify option is selected to 
   reduce the page size, the coding snippets lose their indentation. Is there any
   way to tell WPfc to keep the indentation as is within the “pre” tag. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/code-indentation-breaks-with-html-css-minify-option/#post-9935877)
 * Thank you so much.
 * I know this problem since the very first day. I could not find any solution about
   it. Do you have any idea which does not reduce the optimization?
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/code-indentation-breaks-with-html-css-minify-option/#post-9936020)
 * Hi again, I fixed the problem. Please delete wpfc and download the following 
   version to get the latest changes.
 * [https://downloads.wordpress.org/plugin/wp-fastest-cache.zip](https://downloads.wordpress.org/plugin/wp-fastest-cache.zip)
 *  Thread Starter [HarshS](https://wordpress.org/support/users/harshs/)
 * (@harshs)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/code-indentation-breaks-with-html-css-minify-option/#post-9939708)
 * That’s great to hear. I’ll test with the updated plugin and confirm. Thanks.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/code-indentation-breaks-with-html-css-minify-option/#post-9940172)
 * if you tell me the result after test, it makes me so happy 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Code indentation breaks with html/css minify option’ is closed to new
replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/code-indentation-breaks-with-html-css-minify-option/#post-9940172)
 * Status: not resolved