• central4all

    (@central4allgmailcom)


    NSFW
    2 days now i think, i say this based on pageviews
    my site looks blank for guests but is visible for logged users.
    Autoptimize is set to be the same for logged and non logged users.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    AO doesn’t seem to be active now central4all ?

    Thread Starter central4all

    (@central4allgmailcom)

    i closed it, now is open
    check this page because first seems to be working

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    tested in anymous/ private browser window in both Chrome & FF; seems to work for me?

    see e.g. https://i.imgur.com/zpLkAJO.jpg and https://i.imgur.com/mZYRD1L.jpg

    Thread Starter central4all

    (@central4allgmailcom)

    Please try the link i gave you the second one,
    https://prnt.sc/sha7w0
    it seems that there is a problem with wpforo,
    i just found out

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    confirmed broken, try disabling CSS or JS or HTML or the other optimizations to pinpoint?

    Thread Starter central4all

    (@central4allgmailcom)

    Inline and Defer CSS
    Inline all CSS
    Disabled for this to work, because both creating this problem

    Aggregate JS-files
    Also aggregate inline JS
    Force JavaScript in <head>
    From js Already Disabled because in mobile version photos are not visible

    Pagespeed is almost at levels with autoptimize

    Is there a way to
    1) exclude wpforo from all optimizations
    2) guests and logged members to see the same think?

    if not is useless, i have to guess each time if there error or not.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    use this snippet to disable AO on your site’s forum;

    add_filter('autoptimize_filter_noptimize','ao_noptiforum',10,0);
    function ao_noptiforum() {
    	if (strpos($_SERVER['REQUEST_URI'],'escortsforum')!==false) {
    		return true;
    	} else {
    		return false;
    	}
    }
    Thread Starter central4all

    (@central4allgmailcom)

    Thank you , what about
    2) guests and logged members to see the same think?
    because i have to guess each time if there is a new error or not.
    In the settings is set, you gave me in the past a code but it seems is not working.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    what code/ what setting?

    Thread Starter central4all

    (@central4allgmailcom)

    In the settings i have enabled
    Also optimize for logged in editors/ administrators? so i can see the same with the guests.
    This was not functioning to my site and you gave me a code to add, i cant find it now.
    Till now everything was working fine but the last two days i had this problem

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    guess the code (no idea what I provided you with) disables AO in certain contexts (maybe wp foro or other conditions), so based on that code snippet your experience will always be different. try finding it and disabling it?

    Till now everything was working fine but the last two days i had this problem

    gues some plugins (or your theme) updated in the mean time?

    Thread Starter central4all

    (@central4allgmailcom)

    Normal

    Thread Starter central4all

    (@central4allgmailcom)

    Now non forum pages appear as white with your code

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, my previous code is interfering somehow I guess, hard to troubleshoot without knowing what’s in that, but try this one;

    add_filter('autoptimize_filter_noptimize','ao_noptiforum',10,1);
    function ao_noptiforum($in) {
    	if (strpos($_SERVER['REQUEST_URI'],'escortsforum')!==false) {
    		return true;
    	} else {
    		return $in;
    	}
    }
    Thread Starter central4all

    (@central4allgmailcom)

    The forum is now working properly. Is there something similar we can do about images on mobile? When Aggregate JS-files? is checked then images appear white on mobile browsers (and only mobile browsers)

    When I try to open the image I get this: data:image/svg+xml and some code, even though it’s not an svg image

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Blank Site for guests’ is closed to new replies.