Title: Duplicate CSS files in cache
Last modified: February 14, 2018

---

# Duplicate CSS files in cache

 *  Resolved [oliverjuwig](https://wordpress.org/support/users/oliverjuwig/)
 * (@oliverjuwig)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/duplicate-css-files-in-cache/)
 * Hello,
 * I am using your plugin quite a while together with WP Fastest Cache to speed 
   up my site. It works very well. Nevertheless, I wonder why there are multiple
   copies of identical CSS files in the cache folder. It looks like, that Autoptimize
   is generating the same file for every page and post of my site.
 * I am using a heavily custoomized Twenty Seventeen theme and quite a lot of different
   plugins. However, I tried to switch of the most of them, but the problem remains.
   It looks like, that the plugin “The Post Grid” emits CSS code, that uses numberized
   element IDs, which differ from page to page. Is it possible to separate those
   CSS files from the rest?
 * Any hints for me?
 * Best regards
 * Oliver
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fduplicate-css-files-in-cache%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/duplicate-css-files-in-cache/#post-9973618)
 * that’s that block of inline CSS, right? maybe try adding `#rt-tpg-container-`
   to the comma-separated list of CSS optimization exclusions?
 * hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Duplicate CSS files in cache’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/duplicate-css-files-in-cache/#post-9973618)
 * Status: resolved