Tagged: Caching problem
-
AuthorPosts
-
February 4, 2026 at 7:36 pm #1494707
For the past couple weeks I have had issues with images showing up on my Enfold theme websites. All are hosted with GoDaddy and as soon as I clear the cache and they are fine. This happening randomly several times a week. I have contacted the host and they have not solved.
Is this a new issue with Enfold and if so how do I fix as I have dozens of Enfold websites.
Thank you!
February 4, 2026 at 9:27 pm #1494713Hey annameis,
I assume that your issue is that some images are not showing until you clear your cache, is this your browser cache, WordPress cache, cache plugin, theme cache, or server cache?
Are the images background images in your color sections? These are shown via CSS in the post_css function, depending on your cache time limits, this is typically not an issue with the theme, but you could try this function in your child theme functions.php file to disable:function custom_avf_post_css_create_file( $create ) { return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );Then clear all of the above caches and check again.
Best regards,
MikeFebruary 4, 2026 at 9:33 pm #1494714Hi Mike –
Yes correct – images in color sections are not showing across about dozen sites. I am using the Flush Cache provided by the host within WordPress.
Yes I will try that.
This has just suddenly become an issue – are you aware of a fix coming?
Thanks for the reply!
February 5, 2026 at 12:58 pm #1494738Hi,
Thanks for the update. Problems with external caching solutions is not a theme problem, so we cannot fix it in Enfold.
Best regards,
RikardFebruary 5, 2026 at 8:16 pm #1494766I had this too annameis, quite a while ago I was told to add this php snippet and it fixed it.
/**
* Filter to skip css file generation.
* You can add logic to skip for certain pages/posts only.
*
* @since 4.8.6.1
* @param boolean $create
* @return boolean true | false or anything else to skip generation of css file
*/
function custom_avf_post_css_create_file( $create )
{
return false;
}add_filter( ‘avf_post_css_create_file’, ‘custom_avf_post_css_create_file’, 10, 1 );
February 5, 2026 at 9:01 pm #1494769This reply has been marked as private.February 6, 2026 at 5:24 am #1494778 -
AuthorPosts
- You must be logged in to reply to this topic.
