Title: Custom CSS file not working with Cache plugins
Last modified: July 11, 2023

---

# Custom CSS file not working with Cache plugins

 *  Resolved [BigEd](https://wordpress.org/support/users/bigeddev/)
 * (@bigeddev)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/custom-css-file-not-working-with-cache-plugins/)
 * Hi we have this working but if we enable the lightspeed cache the PDF generates
   and empty PDF.
 * `PHP Warning: /wp-content/uploads/elementor/css/post-49.css): failed to open 
   stream: HTTP request failed! HTTP/1.0 404 Not Found
   in /public_html/wp-content/
   plugins/rtwwpge-wordpress-pdf-generator-for-elementor/public/rtwwpge-class-wordpress-
   pdf-generator-for-elementor-public.php on line 257PHP Warning: Creating default
   object from empty value in /wp-content/plugins/rtwwpge-wordpress-pdf-generator-
   for-elementor/public/rtwwpge-class-wordpress-pdf-generator-for-elementor-public.
   php on line 4065
 * We managed to solve some of this by changing the cache settings for the JS and
   adding an exclude to the PDF plugins the JS file.
 * However, we can’t seem to solve the final problem the CSS file which is being
   loaded from the UI in the plugin is being ignored.
 * Is there a way to bypass it and load the CSS file or a path URL we can use for
   the CSS exclude?

Viewing 1 replies (of 1 total)

 *  [Chandra Pratap](https://wordpress.org/support/users/chandrapratap8/)
 * (@chandrapratap8)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/custom-css-file-not-working-with-cache-plugins/#post-16929428)
 * Hi [@bigeddev](https://wordpress.org/support/users/bigeddev/)
 * Thank you for using our PRO version plugin. This may be the caching conflict 
   issue.
 * To get the support for pro version please generate a ticket over our support 
   desk through this link – [https://redefiningtheweb.freshdesk.com/support/tickets/new](https://redefiningtheweb.freshdesk.com/support/tickets/new)
 * Our team will surely help you.

Viewing 1 replies (of 1 total)

The topic ‘Custom CSS file not working with Cache plugins’ is closed to new replies.

 * ![](https://ps.w.org/pdf-generator-addon-for-elementor-page-builder/assets/icon-
   256x256.gif?rev=2837818)
 * [PDF Generator for WordPress Elementor](https://wordpress.org/plugins/pdf-generator-addon-for-elementor-page-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-generator-addon-for-elementor-page-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-generator-addon-for-elementor-page-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-generator-addon-for-elementor-page-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-generator-addon-for-elementor-page-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-generator-addon-for-elementor-page-builder/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [conflict](https://wordpress.org/support/topic-tag/conflict/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chandra Pratap](https://wordpress.org/support/users/chandrapratap8/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/custom-css-file-not-working-with-cache-plugins/#post-16929428)
 * Status: resolved