Jump to content

Jock3r

Members
  • Posts

    95
  • 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 Jock3r

  1. 7 minutes ago, Sheffielder said:


    Yeah you just do it as you would with Twitter - type @ and then wait for the names to appear or just type in their username e.g @Jock3r

    I explained why this isnt a preferable way. I want to know if it can be done without the drop down menu.

  2. Hello,

    I want to ask if it's possible to someone allow people to mention someone by simply using @ name rather than having to use the drop down menu as this would be an issue later on when there are many people using similar names.

  3. 1 hour ago, Martin A. said:

    Is your installation set to IN_DEV, or is the designers mode active? The former will definitely result in a higher TTFB, not sure about the latter but I guess that affects it too. 

    A 5 day guest cache will cause your Redis cache size to explode by the way. That's the amount of time the HTML result for every single page visited by a guest will be stored in your memory. Not only will your cache size be enormous, but everything a guest see will be very outdated.

    Since you are in development and don't have much traffic yet, you won't take much advantage of what the CloudFlare cache have to offer. Don't think that will affect the TTFB, but it will affect the total load time.

    Sorry my bad regarding the cache thing, I actually meant 5 minutes. I have neither enabled, I managed to find out what was the issue. An application I was using was causing that, made it load messages on ajax and that fixed it. TTFB now ranges from 400 to 750.

  4. 12 minutes ago, Adlago said:

    Yes, a very long waiting time.
    How many html size does your site create
    Do you use a guest cache page?
    It is possible for some of your applications to create a server delay in the creation of html.
    You can test your server with a simple html file in the root directory and compare the same time waiting server response.

    0vfwRxT.png

    Yes, I use guest cache page with Redis, 5 days cache.

    138ms TTFB for a "hello world" html page on the root directory 7oVW6B4.png

     

    19 minutes ago, Steph40 said:

    @Jock3r Test with this and post result.

    https://www.bytecheck.com/

    There is many factors to consider, example, where you are located and where you are located.  I personally prefer centos for server and I install centminmod: 

    https://centminmod.com/ 

    Without knowing you website, can't do much.

    The website is currently under development so it's set as offline. Not released yet but I could PM you if you want to take a look further.

  5. Hello,

    My current TTFB for the main page is too high vXBzTus.png

     

    My current config for nginx is this one

    user  nginx;
    pid   /var/run/nginx.pid;
    worker_processes  auto;
    worker_rlimit_nofile 1024;
    worker_priority   -10;
    
    events {
        worker_connections  1024;
        multi_accept on;
        use epoll;
    }
    
    
    http {
    
        ##
        # Basic Settings
        ##
        default_type        application/octet-stream;
        keepalive_timeout   10;
        keepalive_requests 1024;
    
        sendfile        on;
    
        set_real_ip_from 103.21.244.0/22;
        set_real_ip_from 103.22.200.0/22;
        set_real_ip_from 103.31.4.0/22;
        set_real_ip_from 104.16.0.0/12;
        set_real_ip_from 108.162.192.0/18;
        set_real_ip_from 131.0.72.0/22;
        set_real_ip_from 141.101.64.0/18;
        set_real_ip_from 162.158.0.0/15;
        set_real_ip_from 172.64.0.0/13;
        set_real_ip_from 173.245.48.0/20;
        set_real_ip_from 188.114.96.0/20;
        set_real_ip_from 190.93.240.0/20;
        set_real_ip_from 197.234.240.0/22;
        set_real_ip_from 198.41.128.0/17;
        set_real_ip_from 2400:cb00::/32;
        set_real_ip_from 2606:4700::/32;
        set_real_ip_from 2803:f800::/32;
        set_real_ip_from 2405:b500::/32;
        set_real_ip_from 2405:8100::/32;
        set_real_ip_from 2c0f:f248::/32;
        set_real_ip_from 2a06:98c0::/29;
        real_ip_header CF-Connecting-IP;
    
    
        ##
        # Logging Settings
        ##
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log;
        error_log   /var/log/nginx/error.log;
    
        ##
        # Gzip Settings
        ##
        gzip on;
        gzip_disable "msie6";
        gzip_vary on;
        gzip_comp_level 2;
        gzip_buffers 4 8k;
        gzip_min_length 1024;
        gzip_proxied expired no-cache no-store private auth;
        gzip_types text/plain application/javascript application/x-javascript text/xml text/css application/json;
    
    
    
        client_body_buffer_size 1m;
        client_header_buffer_size 1k;
        client_max_body_size 50M;
        large_client_header_buffers 4 4k;
        client_body_timeout 15;
        client_header_timeout 15;
        send_timeout 15;
    
    
        open_file_cache max=20000 inactive=20s;
        open_file_cache_valid 60s;
        open_file_cache_min_uses 5;
        open_file_cache_errors on;
        tcp_nopush on;
        tcp_nodelay on;
    
    
        fastcgi_buffers 256 16k;
        fastcgi_buffer_size 128k;
        fastcgi_connect_timeout 3s;
        fastcgi_send_timeout 120s;
        fastcgi_read_timeout 120s;
        fastcgi_busy_buffers_size 129k;
        fastcgi_temp_file_write_size 256k;
        reset_timedout_connection on;
        server_names_hash_bucket_size 100; 
    
        ##
        # Configuration Includes
        ##
        include /etc/nginx/conf.d/*.conf;
        include /etc/nginx/sites-enabled/*;
    
    }
    
    

    And php-fpm's config is the exact one posted by Makoto here

    I use NGINX + PHP-FPM + OPCACHE +MariaDB + Redis + Cloudflare + Wasabi

    The TTFB times vary from 800ms to 1200ms for the main page. Would anyone have any suggestions as to what I can do to decrease that? Also feel free to ask if you require any more information to check.

     

    VPS Specs:

    Eight cores Intel® Xeon® E5-2630v4

    30 GB Ram

    800 GB SSD

    Ubuntu 18.04

  6. 6 hours ago, Morrigan said:

    You can't disable the WYSIWYG editor BUT you can limit height of signatures by adding this to your custom.css:

    
    [data-role="memberSignature"] {
      max-height: 430px;
      overflow: hidden;
    }

    It's what I do on my site because I have a max-signature height rule of 400px (because people go crazy with images too loves, even if they get just one). You have to add the extra 30px because it includes the hr and margin in the section so they get their true height.

    Yeah, I had the same solution but I just wanted to see if it was possible to do it otherwise. I currently have overflow set to auto. Thank you though for the input 🙂

  7. Hello there,

     

    I am currently facing an issue with signature's font-size not having a server-side check to prevent signatures like that 0hoNR7F.png

    The font-size shown here is 2000px and someone can manage to do that by simply editing the request sent when you save the signature. Is there anything to do to limit this?

  8. Hello there fellow members,

    I am looking for a custom built currency/points application for IPB4. What I want the application to have:

    1. A standalone page, let's call it points.php for now

    2.  A donation system(Members having the ability to send others their points)

    3. The ability to buy a pin for a thread for x time with their points.

    4. The ability to buy title colors for their threads.

    5. Points to be visible on someone's profile.

    6. A statistics page where it will show recent "trades"(donations from one member to another).

    7. A page where people will be able to buy credits with a certain commerce I will provide(I just need the page made for this, I will make the webhook and embed).

     

    For any further instructions please let me know.

×
×
  • Create New...