[bd] Cache [Deleted]

I'm not sure but probably this addon creates so much files in tmp with files it fills up the whole space. After that site gives error because tmp is ful.


xf_---internal-metadatas---xf_bdc_ee3d30e7dd21cc427af0c1a04d63eb25
xf_---xf_xfCssCache_5906bdc43fffaa0a9f944e4bfd09e2fc70f7d89e
-internal-metadatas---xf_xfCssCache_1837413cd4fcd74631fbefa4cc0e0068e60291c8

Tons of these things. What can I do about this ?
Looks like you were using File cache backend? The add-on uses the default XenForo cache system to store data and it relies on the cache system to clean up stale data so it may cause issue if your traffic is diverse with lots of pages.
 
I read somewhere that this can work with Google AMP Project. Is that correct?

Yes , it's.



AMP style goes crazy when there is an Guest message. It does not show guest message and their username.

bdcache.webp

Furthermore , if you have a bbcode HTML replacement with <img src""> , AMP gives error because addon doesn't change them to <amp-img src="">.
 
Last edited:
I use bd cache and also activated the AMP setting for mobile pages.

Now I get AMP error messages for all pages with a certain media site inserted. Thy php callback of the media site inserts an image like this
<img itemprop="image" alt="my alt text" src="http://my image path/image.jpg"></a>

This is valid HTML as far as I can see. However, there is an AMP error message saying "The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'?"

What can I do, @xfrocks .
 
I use bd cache and also activated the AMP setting for mobile pages.

Now I get AMP error messages for all pages with a certain media site inserted. Thy php callback of the media site inserts an image like this
<img itemprop="image" alt="my alt text" src="http://my image path/image.jpg"></a>

This is valid HTML as far as I can see. However, there is an AMP error message saying "The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'?"

What can I do, @xfrocks .
The add-on converts <img /> automatically but it must be able to connect to the server hosting the image and fetch the image size (width, height). Is the image url accessible from your server?
 
The add-on converts <img /> automatically but it must be able to connect to the server hosting the image and fetch the image size (width, height). Is the image url accessible from your server?
No, this is an external image url. But the images all have a fixed size 98 px x 160 px. I could also add width = 98 and height = 160 to my callback, so that the image dimensions are available in the img tag, if this helps.
 
No, this is an external image url. But the images all have a fixed size 98 px x 160 px. I could also add width = 98 and height = 160 to my callback, so that the image dimensions are available in the img tag, if this helps.
<img itemprop="image" alt="my alt text" src="http://my image path/image.jpg" /></a>

Can you change it to this and try again ? I mean add "/" in the end.
 
No, this is an external image url. But the images all have a fixed size 98 px x 160 px. I could also add width = 98 and height = 160 to my callback, so that the image dimensions are available in the img tag, if this helps.
Yes, if you provide width and height yourself, the tag will be converted easier.
 
Can anybody check the file size of "bdcache" in internal_data. Mine is 15gb now , I don't know should I delete it or not ? Xfrocks doesn't reply.
 
Can anybody check the file size of "bdcache" in internal_data. Mine is 15gb now , I don't know should I delete it or not ? Xfrocks doesn't reply.
It's safe to delete if you want to but the add-on do house keeping by itself via cron so... it'll grow back anyway.
 
When I visit google webmaster tools I can see that google crawled some AMP pages. However, the number of AMP pages remains at 175. There were 2 AMP errors some time ago which were fixed. under normal circumstances we should have several thousands of AMP pages.

Any ideas what I can do?
 
Top Bottom