وردپرس

Astra Theme Dynamic CSS | WordPress.org


Hello,

We love using the Astra theme, but the theme has a Dynamic CSS feature that is constantly creating and updating files in the following directories:

/wp-content/uploads/astra
/wp-content/uploads/astra-addon

This is a good feature, but it has some disadvantages.

For instance, we are using the Litespeed plugin as an optimization tool on our site, and our cache timeout value is set to one week.

However, if the Dynamic CSS feature updates every 24 hours, these CSS files are renewed, and their permalinks are updated.

Since the Litespeed cache plugin doesn’t perform a purge, the changing CSS links in the theme result in 404 errors.

Example:

Failed to load resource: the server responded with a status of 404

/wp-content/uploads/astra/astra-theme-dynamic-css-post-54927.css
/wp-content/uploads/astra-addon/astra-addon-dynamic-css-post-54927.css

As the Litespeed cache is not cleared, these files cannot be found, causing 404 errors, and leading to broken fonts and CSS layouts, which result in an unattractive appearance.

I couldn’t find how to disable Dynamic CSS in the theme settings.

What can I do to deactivate this? Can you help me? Thank you.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا