Re: Fixed opengraph caching

來自:樹雄
時間:Mon 2018-09-24 23:40:47

來自:樹雄
時間:Mon 2018-09-24 23:36:01

If a page has no valid opengraph result, the url is still cached with a 'notvalid' object. Didn't know it'd take me that long to spare time and fix it :-(

Though of refactoring the post filter with PHP DI and Phata\Hook. Simply too lazy to actually go through with it. Might do it in the Loop.

PHP-DI - The Dependency Injection Container for humans
php-di.org
https://packagist.org/packages/phata/hook