AMPXF - AMP for Xenforo 2

AMPXF - AMP for Xenforo 2 [Paid] 2.3.0 Patch Level 3

No permission to buy (€50.00)
I guess my last target would be js. It looks like now a page has a little bit too much of it.

View attachment 247516



So I see conditionals for loading js for these guys: dailymotion, instagram, imgur, reddit, twitter, vimeo, youtube, form, video, audio.
But I can't figure out where those could be enabled/disabled. Can you advise where I can find it, please?
Well the conditionals make them not load unless needed..

I would rather strip out some of the ones that "always load" which are:
  • Analytics
  • Ads
  • Notifications
  • Bind
  • Sidebar
  • User-consent
(note that you will loose functionality accordingly wheb you disable things.. )

It might also make sense to do a debug to see which of those assets are actually biggest as those are likely affecting the load the most.
 
Also installed latest version, testing with custom woff files.

Question though @mazzly : My AMP pages are looking for the file /styles/mystyle/xenforo/sources/b-header-bg.png

That file doesn't exist though. Is that something that I have to fix or is it something in the AMP add-on?
 
Also installed latest version, testing with custom woff files.

Question though @mazzly : My AMP pages are looking for the file /styles/mystyle/xenforo/sources/b-header-bg.png

That file doesn't exist though. Is that something that I have to fix or is it something in the AMP add-on?
Hmm that doesn't sound like anything that should be part of the addon by default at least.. Could you check the style properties for the amp addon if something is defined for the header background? (the path of the image sounds like a header background image)
 
Hmm that doesn't sound like anything that should be part of the addon by default at least.. Could you check the style properties for the amp addon if something is defined for the header background? (the path of the image sounds like a header background image)
Only the color is defined: @xf-chromeBg, no image defined. Going to try to find the reference...

Really weird, I changed the amp_fa.less on my beta server and that works, only the changed woff files are loaded. Made the same changes on my live server and it still loads the old files.

Deleted Redis cache, cleared Cloudflare cache...nothing.
 
It gets funnier: the local amp URLs keep using the old woff files but the Google amp pages use the new version...

Maybe I just have to drink coffee for a couple of hours and try again😉
 
  • Haha
Reactions: jul
It might also make sense to do a debug to see which of those assets are actually biggest as those are likely affecting the load the most.
I tried hard, but couldn't find what I can get rid of. )
The only one question: amp-analytics-0.1.js loads (initiator ?amp=1) and then each adsense ad initiates loading of the same amp-analytics-0.1.js. Is it designed this way? Maybe there is some way to reuse the file without loading it 2 extra times?


It gets funnier: the local amp URLs keep using the old woff files but the Google amp pages use the new version...

Maybe I just have to drink coffee for a couple of hours and try again😉
Try with the default style, and you could get the answer.
 
Is AMPXF Bot's tired ?
I can't see it anymore on my online list ant it paused automaticaly on AMPXF ACP.
What's wrong ?
Thanks.
 
If i restart it, it pause few seconds after automaticaly... (1.3.7 Beta 1)
 
it's weird because usually even if the robot is paused we can see it in online visitors browsing an unknown page ... There I don't see it at all.
 
That does not do everything the amp bot does:

You understand that the AMP Robot can securely interact with the installed addon to share some data that is used to improve the experience for you and future customers of the addon. This data, will NEVER be shared with any third party, and is used for the purpose of improving the AMPXF experience.
The data includes things like:
  • Other installed addons which might interfere with AMPXF and needs to be handled in code.
  • Problems with invalid markup in your forum discussions, which is not allowed by the AMP specification.
  • Anonymized data of "served AMP pages", shown on the ampxf.com starting page
 
Back
Top Bottom