doblejou
Forum Replies Created
-
Forum: Plugins
In reply to: [Cache Enabler] Very slow large cache deletionOk, thank you. I just sent you an email
Forum: Plugins
In reply to: [Cache Enabler] Cache Enabler does not workI have already discovered the problem.The functions.php file of the child theme had BOM probably added by the text editor used to edit it. It would be interesting that Cache-Enabler somehow warns that the content includes BOM and therefore will not be cached or that even if it includes BOM it will cache it anyway.
Thanks`Corey
Forum: Plugins
In reply to: [Cache Enabler] Cache Enabler does not workHello,
Yes, you are right that there is no point in using BOM. So far I have investigated and it is an issue for this site only, not for the others on the same server. So the BOM is introduced by a plugin or theme. I’m still investigating…… But in any case, wouldn’t it be better to check if the content includes the string “<!DOCTYPE html>” instead of if it starts exactly with it in position 0 ? It could be the case that the DOCTYPE starts on a second line or is preceded by spaces.
Thanks,
Forum: Plugins
In reply to: [Cache Enabler] Cache Enabler does not workHello,
Thank you Corey for replying. I don’t know. I imagine it’s some plugin or the theme that is inserting the BOM. Or maybe my Apache or PHP configuration.
Forum: Plugins
In reply to: [Cache Enabler] Cache Enabler does not workI see more clues:
One of the conditions that CacheEnabler executes for whether or not to cache a page is this one that appears in the file cache_enabler_engine.class.php :
$has_html5_doctype = preg_match( ‘/^<!DOCTYPE.+html>/i’, ltrim( $contents ) );
which always gives FALSE, because the HTMl of my pages has UTF-8 BOM at the beginning \xef\xbb\xbf<!DOCTYPE , so $has_html5_doctype always gives FALSE and is not cached.
What solution can you give me?
Thanks
Forum: Plugins
In reply to: [Cache Enabler] Cache Enabler does not workSome important details:
* Cache Enabler version 1.4.9 works perfectly for me.
* Cache Enabler version 1.5.0 and higher does not work for me.Forum: Plugins
In reply to: [Featured Image from URL (FIFU)] Genesis Framework compatibility?Ok, thanks!!