Jump to content

Maciej

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by Maciej

  1. Hello, 

    for example I have website with links to last updated videos, and when I'm clicking on this I have url

    https://domainname.com/latest-updated/

    Links are of course are indexed of google  for https://domainname.com/latest-updated/2/, https://domainname.com/latest-updated/3/

    but I would like to navigation pagination that browser are making new display and is not still page https://domainname.com/latest-updated/ in browser bar

     

    I need this because about dmca, thank you

     

  2. I have problem with {{$flashvars.video_url}} in other player because I get link with, video_url: 'function/0/https://domain.com/get_file/1/51603597b6eb6be7570b9b65a662a232/1000/1719/1719.mp4/'

     

    function/0/ , it's possible to remove it ?

  3. I have another problem,

     

    I would like to add ktplayer js code <script type="1cffa31abd315d8a0900537f-text/javascript" src="https://domain.com/player/kt_player.js?v=5.1.1"></script> in header off my website with preload mode.

     

    <link rel="preload" href="https://domain.com/player/kt_player.js?v=5.1.1" as="script">

     

    for faster load player but it not working when i use preload mode.

     

    more info here: https://web.dev/preload-critical-assets/

     

  4. For other customers - I solved problem with 3 mln records in ktvs_stats_search,

    I changed this table from Innodb to Myisam, and I disable updating counts for search:

    //foreach ($result as $date=>$result_date)
    //{
    //    foreach ($result_date as $query=>$result_query)
    //    {
    //        $sql_query_results='';
    //        if (intval($result_query['query_results_videos'])>0)
    //        {
    //            $sql_query_results.='query_results_videos='.intval($result_query['query_results_videos']).', ';
    //        }
    //        if (intval($result_query['query_results_albums'])>0)
    //        {
    //            $sql_query_results.='query_results_albums='.intval($result_query['query_results_albums']).', ';
    //        }
    //        $sql_query_results.='query_results_total=query_results_videos+query_results_albums';
        //    if (!$result_query['amount'])
        //    {
                $result_query['amount']=0;
        //    }
    //        if (sql_update("update $config[tables_prefix_multi]stats_search set amount=amount+?, added_date=?, $sql_query_results where query_md5=md5(?)",$result_query['amount'],$date,$query)==0)
    //        {
    //            sql_pr("insert into $config[tables_prefix_multi]stats_search set amount=?, query=?, query_md5=md5(query), query_length=length(query), added_date=?, $sql_query_results",$result_query['amount'],$query,$date);
    //        }
    //    }

    in cron.

     

    Another thing I disabled boolean mode from similar searches, now i have results >0.2 sec (before was 2 sec)

×
×
  • Create New...