Jump to content

Search the Community

Showing results for tags 'cache'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 6 results

  1. Searching the web I found this code for implementing video caching:- ' <script>'+ ' // -- Create a MediaSource and attach it to the video'+ ' const videoTag = document.getElementById("MyVideoTag");'+ ' const myMediaSource = new MediaSource();'+ ' const url = URL.createObjectURL(myMediaSource);'+ ' videoTag.src = url;'+ ' // 1. add source buffers'+ ' const audioSourceBuffer = myMediaSource.addSourceBuffer(''audio/mp4; codecs="mp4a.40.2"'');'+ ' const videoSourceBuffer = myMediaSource.addSourceBuffer(''video/mp4; codecs="avc1.64001e"'');'+ ' // 2. download and add our audio/video to the SourceBuffers for the audio SourceBuffer'+ ' fetch("https://mydomain.com/audio.mp4").then (function(response)'+ ' {'+ ' // The data has to be a JavaScript ArrayBuffer'+ ' return response.arrayBuffer();'+ ' }'+ ' ).then (function(audioData) '+ ' {'+ ' audioSourceBuffer.appendBuffer(audioData);'+ ' }'+ ' );'+ ' // the same for the video SourceBuffer'+ ' fetch("https://mydomain.com/video.mp4").then (function(response)'+ ' {'+ ' // The data has to be a JavaScript ArrayBuffer'+ ' return response.arrayBuffer();'+ ' }'+ ' ).then (function(videoData)'+ ' {'+ ' videoSourceBuffer.appendBuffer(videoData);'+ ' }'+ ' );'+ ' </script>'+ I have added this script to the HtmlFrame that contains the video tag with the id="MyVideoTag" and ask if any other code is required to activate this javascript caching ? Thanks in advance
  2. Occasionally, at least once a month, an error occurs in an application that runs 24x7x365 Application crashes with a lot of alerts from javascript. The cache log shows: PlataformaDRA.dll: 000011EC: 08:19:33 []:Terminating ISAPI Server. Module Handle: 0000000000400000 PlataformaDRA.dll: 000011EC: 08:19:33 [TUniServerModule]:Shutting Down Server. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Terminating Session manager. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Stopping Cache Eraser... PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Cache Eraser Stopped. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Destroying Worker Threads. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Session manager terminated. PlataformaDRA.dll: 000011EC: 08:19:33 [TUniServerModule]:Server Shutdown Completed. PlataformaDRA.dll: 000011EC: 08:19:33 []:ISAPI Server Terminated. Module Handle: 0000000000400000 PlataformaDRA.dll: 000011EC: 08:19:33 []:<--------------------------------------------------------------> plataformadra.dll: 00000408: 08:21:47 []:Error deleting folder: "C:\inetpub\wwwroot\PlataformaDRA\cache\plataformadra_dll\314J4BZHtb105182102\" [OS Error:2] plataformadra.dll: 00000094: 09:29:16 []:Terminating ISAPI Server. Module Handle: 0000000000400000 plataformadra.dll: 00000094: 09:29:16 [TUniServerModule]:Shutting Down Server. plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Terminating Session manager. plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Stopping Cache Eraser... plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Cache Eraser Stopped. plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Destroying Worker Threads. plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Session manager terminated. plataformadra.dll: 00000094: 09:29:16 [TUniServerModule]:Server Shutdown Completed. plataformadra.dll: 00000094: 09:29:16 []:ISAPI Server Terminated. Module Handle: 0000000000400000 plataformadra.dll: 00000094: 09:29:16 []:<--------------------------------------------------------------> plataformadra.dll: 00000D58: 09:29:20 []:Error deleting folder: "C:\inetpub\wwwroot\PlataformaDRA\cache\plataformadra_dll\VcA6pCFI4m1051833E5\" [OS Error:2] After first "error deleting" , always raises same error type, for each new access. The problem only is resolved when recycling application group on IIS, or stop the service..... How can solve it?
  3. Problems with two Unigui Applications on the same IIS Server Good afternoon, I have two Unigui applications running on IIS. One at port 81 and one at port 82. But if I open http: // localhost: 81, and then open a new window and try to open it to http: // localhost: 82, it keeps loading http: // localhost: 81 and in that situation I have to keep giving Ctrl + F5 several times until it opens at http: // localhost: 82. Once you have opened http: // localhost: 82 it is the APP http: // localhost: 81 which gives the same problem. How do I fix this? I already researched but could not find material or a solution. Note ..: PHP sites work normal, the problem is with applications made with Unigui. This happens if you try to open in the same browser (Tested in Chrome) Follows the images of the Pool configuration of the two applications APP 01 APP 02
  4. Some of our customers are having weird problems with our uniGUI software. I updated uniGUI to the latest version yesterday and at least some customers are getting AJAX-errors, duplicate entries in uniDBGrid and so on. I troubleshooted the problem with one of our customers and I asked him to clear cache or try another browser (He was using IE 11). He tried to use Chrome and everything worked as expected. One another customer cleared cache and that seemed to solve problem for her. I can't reproduce any of the errors and problem they're having so it's really difficult to fix something that doesn't seem to be broken. Is there something I'm missing here? What can I do to to solve this issue? Is there a way to instruct clients browser to fetch all the uniGUI files again effectively refreshing them? Is this cache related at all? If not, what should I do to prevent these kind of situations in the future when I update uniGUI to new version? Please advice. // Mika
  5. Boa tarde, eu estou desenvolvendo uma aplicação com hospedagem no IIS, e neste como todos, gero relatorios em PDF usando o FastReports. Uso esse código para gerar o PDF. NomeRPT.PrepareReport(True); ArqPDF := NomeRelPDF+'_'+FormatDateTime('ddmmyyyy_hhmmss.zzz',Now)+'.pdf'; PDFExport.FileName := ArqPDF; PDFExport.DefaultPath := UniServerModule.LocalCachePath; PDFExport.ShowDialog := false; PDFExport.ShowProgress := False; NomeRPT.Export(Self.PDFExport); NomeRPT.PreviewPages.SaveToFile(ArqPDF); frmRelatorios_Movimento.UniPDFFrame1.PdfURL := UniServerModule.LocalCacheURL + ArqPDF; // Displayed on UniURLFrame frmRelatorios_Movimento.ShowModal; Ele está gerando normalmente o arquivo na Cache do Servidor (pasta criada pelo Unigui na raíz da aplicação), porém, ele cria o mesmo arquivo dentro da C:\Windows\SysWOW64, só que isso vai enchendo a pasta de sistemas com arquivos PDF e eu não consigo encontrar onde é o problema que o mesmo salva uma copia do arquivo na pasta de sistema. Alguém já viu algo parecido com isso?
  6. If I use SendFile twice or more with the same filename, the browser takes the file out of the cache instead the new one. At the moment I add a Timestamp to the filename, but is there a way to do without a unique name?
×
×
  • Create New...