Jump to content

sobrenome

Clients
  • Posts

    2,525
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by sobrenome

  1. Clubhouse 101 is the new “forum” sensation based on audio.

    For some time I have been asking for a better gallery APP to better support for video and to allow stories.

    Maybe we should also consider audio posts, that could be translated to text by cloud services from google or amazon and vice-versa.

    https://www.washingtonpost.com/technology/2021/02/10/what-is-clubhouse-faq/

  2. I hope that IPS becomes faster this year as long as speed is more relevant each day as a ranking factor.

    Maybe parts of IPS could be loaded by the API and JavaScript, following the model used by Instagram and Twitter.

    The basic HTML structure loads fast and the contents are lazy loaded on demand (on view port) by the API.

    New websites are adopting Next.js for fast loading.

    I think it’s time for a huge IPS modernization on terms of speed. The basic tools are already here.

  3. On 12/22/2020 at 6:47 PM, Ryan Ashbrook said:

    Every 5 minutes.

    And yes, it can be beneficial particularly for sites with a lot of simultaneous traffic as it'll offload all session handling from the database. Combined with guest page caching, it's entirely possible to serve a page to guests entirely from Redis and never touch the database.

    IPS is ultrafast for guests when using redis. A logged user browsing experiencie is clearly much slower.

  4. 13 hours ago, bfarber said:

    We have been testing PHP 8 compatibility locally and it will be included in a future release, however I can't say exactly when that will be. I can say that certain third party libraries we use will also need updates before we can fully support PHP 8.

    Will JIT be used?

  5. I have checked json_last_error() and number 4 pop out: syntax error.

    So I have adopted a different approach to cache the array API data: serialize() and unserialize(). But I had also the same syntax issues, that were solved by base64_encode() and base64_decode().

    To save in the database:

    {{$videos_serialized = base64_encode(serialize($videos));}}

    To use it again:

    {{$videos = unserialize(base64_decode($videos));}}

    Hope this helps someone using json APIs and caching the results.

  6. This is my code on a Page template:

    {{$videos = $record->customFieldDisplayByKey('youtube_json');}}
    {{$videos = json_decode($videos, true);}}
    {{print_r($videos);}}

    I have tested the content of the field and it is a valid json format.

    But when I decode it to use it as a php array, it is empty. 

×
×
  • Create New...