375 Topics
![]() | |
I happily just discovered the Cache-Control rules *stale-if-error* and *stale-while-revalidate*. I came across [an article](https://developers.cloudflare.com/cache/concepts/cache-control/) on Cloudflare's site that says that those two directives are ignored if CF's Always Online feature is enabled, so I've gone ahead and disabled that. However, I'm confused by the following quote: > The stale-if-error … | |
Probably this is me just venting more than anything, but has anyone had success in getting in touch with someone from Cloudflare billing? Cloudflare recently charged us a boatload of money for Argo accelerated traffic that was the result of a DDoS attack. Cloudflare was able to detect on their … | |
Probably a silly question, but is Argo Smart Routing (the usage-based product) only applicable to content served at the origin? Otherwise, does it makes sense to be spending money to find a more efficient path between the end-user and the edge? Isn't the edge already pretty darn close? | |
As you may know, yuo can customize the error pages in Cloudflare, such as for a WAF block, etc. For some reason, since the switchover to the new error pages dashboard, the custom font I always use isn't working. I can see that it converted https://cdn.daniweb.com/font.woff into inline base64 for … | |
So... I have a fully working code, but my boss asked me to add a button that downloads the table in excel format with the values from the database and I was like, *I can do that?* I also asked chatGPT but it has a character limit so it never … | |
I am having trouble showing the export buttons, it works perfectly if the data is not fetched from database with the basic example however they are not showing with my php code, I have included the script and necessarry files from https://live.datatables.net/kugajayu/1/edit. Please help, below is my script. <!DOCTYPE html> … | |
Hi, first of all let me thank anyone willing to help out with this. Jquery / Ajax update Span or Div by ID without refreshing page <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="60"> <!-- Esta línea hará que la página se actualice automáticamente cada 15 segundos--> <meta charset="utf-8" /> … | |
A couple of years ago, I began using a Cloudflare worker to track my Googlebot traffic in Google Analytics. The initial code I used, and thought process to get there, is [here](https://www.daniweb.com/digital-media/digital-marketing/threads/522837/bot-traffic-in-google-analytics), but here's what my code looks like today: const analyticsId = 'UA-98289-3' addEventListener('fetch', event => { event.passThroughOnException() event.respondWith(handleRequest(event)) … | |
Starting September 1st, about 25% of crawl requests started returning 304 Not Modified instead of 200 OK. Prior to that, there were just a small handful of such requests per day. I did not make any code changes that would introduce returning this header. Once I noticed, however, I tried … | |
Hello, I'm facing loding issue on my[ Grocery store](https://www.chococraving.com) when i swiches to clouldflre CDN service. They load much higher then normal. Have any perfect configure for clouldflare for DNS settings. We website is Wordpress based and using Digital Ocean Hosting. Thanks in advance. Salman | |
In terms of performance, which is the best jQuery CDN to use? The one at cdnjs.cloudflare.com, googleapis.com, jsDelivr, code.jquery.com, etc? | |
I started using Cloudflare yesterday, and I must say, I'm incredibly impressed with them. They have a pretty well-rounded featureset that goes above and beyond just being a static CDN. | |
Whats the correct approach nowadays and why: 1. To upload any needed external libs together with webapp in separate folder and than include them (where needed) using relative path, or, 2. Reference remote path (usually some form of CDN), The problem Im facing is I was tasked with writing a … | |
Google PageSpeed Insights indicates a score of 90+. However, the same pages still fall into the slow speed category in Google Search Console Chrome UX report. It says FCP is longer than 3 seconds (3.1s average). What is some low hanging fruit I can do to help real world performance? … | |
How can someone write a Php script that enable users upload image along with a short description in their member area to the database where admin can receive and treat it??? I will also like to know how history on upload can also be added after each upload to the … | |
Hi DW. If you check [this](https://iwpe.000webhostapp.com/iwpe/) you will notice that at the bottom right hand side there's an added image which is also a link for the hosting site, note that I own the site you will see and I'm not the one who added that image but it was … | |
import requests.packages.urllib3 requests.packages.urllib3.disable_warnings() from flask import Flask from flask import request import requests from requests_toolbelt import MultipartEncoder import requests app = Flask(__name__) import requests import json from datetime import datetime botEmail = "" # botun email adresi accessToken = "" # Botun access tokeni host = "https://api.ciscospark.com/v1/" # CISCO Spark … | |
Generally speaking, when it comes to being as secure as possible (and, just as importantly, staying as secure as possible) newer is better. This is certainly the case if we are talking mobile operating systems such as Android and iOS. As of the start of March 2017, according to [Apple's … | |
I have developed a file and have many errors in my coding will anyone fix those errors here's the file https://cdn.fbsbx.com/v/t59.2708-21/11403769_946631602064937_584779033_n.zip/test-pakbook.zip?oh=d2fb62f971d1a99aa033f4bb493a483f&oe=59076CF0&dl=1 <img src="https://scontent-sin6-2.xx.fbcdn.net/v/t34.0-12/18191282_940175276125453_1215397412_n.png?oh=efc9861bcdda7d3750d68568e8396f5e&oe=59072398"> <img src="https://scontent-sin6-2.xx.fbcdn.net/v/t34.0-12/18197838_940175189458795_1243344037_n.png?oh=2541c18614946d642ed8410b04968ad8&oe=5907706C"> <img src="https://scontent-sin6-2.xx.fbcdn.net/v/t35.0-12/18195672_940175179458796_1503451055_o.png?oh=3c55e6bc68d71e3821e3d60f9afebdb1&oe=5907744B"> like this there are errors in other files you can check them here http://pakbook.comxa.com/ go to any page and you will get some … | |
Hi guys, can you help me to solve my problem. i have create coding table for my database. i mean i have a form and when user fill in their information into the form, the data will store in this table(coding). but unfortunately, in this coding, my delete button are … | |
**I can't update inserted data via GUI, Its working well on inserting records before I modify it, and when am trying to modify in order to update inserted data its not update as I expect to happen. I can display inserted data well by echo them to GUI Below is … | |
I've begin to use Paper.js. The first problem I've run into is finding a [CDN](https://cdnjs.com/libraries/paper.js/) that works with JsFiddle, CodePen etc. In my case CodePen; the CDN for which I've found work to a degree what I mean is, I can create a rectangle in a variable, then using the … ![]() | |
OK, so my goal is to build a web portal whereby Independent Broadcasters can sign up and be allocated their own player / page for Live Broadcasting. Some notable examples of what I want are: www.twitch.tv www.ustream.tv www.concertwindow.com My understanding is that I can use NGinx (as the streaming server) … | |
first off, i've never been to web development. I'm developing my personal website where, for some purpose , i need to display some math figures. And somebody suggested me to use mathjax for this purpose. i tried it on my own. it works. but i see some font-size related issues. … | |
Hello, We are about to implement a custom CDN for images but there are two different options I am thinking (I work in a very small company that I am the R&D manager with only one employ in the department) to try for SEO and I thought to ask for … | |
May i know how to implement content delivery network for a website. | |
http://www.innovation.web.id/One/testimonial.php Hello, I am trying to utilize bootstrap in this slider but it does not work yet. I wonder why? I expect the screen to adapt to the webbrowser screensize. I already add this code: <div class="row"><div class="col-sm-12"> <li><div style="font-family: arial; margin: 40px 0 0 90px;"><img src="Images/testimonial/person1.jpg" width="120px"/><div style="width: 500px; … | |
**Bold Text Here**faq.php <!DOCTYPE html> <html> <head> <title>About</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="keywords" content="Our Portfolio" /> <meta name="description" content="This is One, a multipurpose website" /> <meta name="author" content="Davy Gunarso"> <link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/animate2.css"> <link rel="stylesheet" media="all" href="css/main.css" /> <link rel="stylesheet" type="text/css" … | |
Hi, I have just started learning nodejs. And i am using socket.io modules. I have write code where one user can send message to another specific user.. but my code is not working, idk why ? Here is my client side script --> var mysql = require("mysql"); var fs = … | |
Hello, Can anyone help me fix this code for about page: http://www.innovation.web.id/One/about.php Cek the part that has 4 circle and that grey areas. I would like to be able to work both in desktop and android. about.php <!DOCTYPE html> <html> <head> <title>About</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> … | |
Hello, Can anyone help me cek this code? I find it strange that when I open my website on an android web browser. The website appears differently. It does not fit the whole horizontal screen as I expect it. http://responsivetest.net/#u=www.innovation.web.id/One|908|948|2 about.php <!DOCTYPE html> <html> <head> <title>About</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> … | |
I am doing a project on greeting card designing interface(html). I have written code to make text draggable and resizeable but it it not resizing. please help html: <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/canvas2image/0.1/base64.js"></script> <script src="https://cdn.jsdelivr.net/canvas2image/0.1/canvas2image.js"></script> <script src="https://github.com/niklasvh/html2canvas/releases/download/0.4.1/html2canvas.js"></script> <link href="https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css" rel="stylesheet"/> <link href="style.css" rel="stylesheet" /> <script src="https://code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script> <head> <body> <div … | |
I had installed CDN on our domain www.cainfotechindia.com The site seems pretty fast. Good to know. But the problem is we have multiple CDN installs on the same domain under the folders called www.cainfotechindia.com/german/ and www.cainfotechindia.com/spanish/ I even tried to create two more zones and add them to the WP … | |
Hello all, Please check this: [One](http://www.innovation.web.id/One/index.php) I wonder why I cannot make that laptop pictures moves just like any other images (if it moves differently - it must be slightly different): about.php <!DOCTYPE html> <html> <head> <title>About</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Animate.css</title> <link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/animate2.css"> … | |
Hello, I have a little problem , I am currently developing an application with PHP and MySQL , this application should show me more persons, each person must have one or more services and each service can be inversely associated with several people, for this I have 2 tables, one … | |
hello friends, i so sorry to post this simple question but it is 2 week i'm trying to use jquery on my website but still it is not working, i have used query in past and it was working pretty fine, and now i'm developing i simple website, i followed … | |
Hi, I have a cricket related website that is currently hosted on a VPS with two other websites. We are expecting a huge hike in traffic during the next 6 weeks during World Cup. I need suggestions for hosting and CDN to be able to stay live throughout the event. … | |
Hi, so for my .net project I've to use HTML/CSS provided by another colleague. Ive copied this into the site master page in .net but it doesn't appear in the child pages, anyone have any ideas how I can fix this. The code is: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" … | |
There's a preview released of Windows 10, for developers. I downloaded it, managed it to work, shut down got an error, started right after and all my partitions were gone. And again, Microsoft messed up my hardware http://i1.kym-cdn.com/photos/images/facebook/000/617/851/56d.gif But that's not the strangest. I also had Ubuntu *.iso*, I deleted … | |
hey, im working on a site on drupal with a theme, i have the main page with slider, i created a new page and i want to use some jquery there, but i search on internet they said that add scripts[] = jquery.js into you them file, the problem when … | |
Hello. I have one problem with only one text witch shows two times (i want only once) Here is picture: http://i.imgur.com/cfOrBCs.png Maybe the for cycle loops this text and...this is happen. I want to show only once in the middle. Here is code: var matchcount = 4; $.ajax({ type: 'GET', … | |
Hello! I am needing a non-realitme note/reivew system like the former iWork.com's "Review" feature, I am hoping one already exsist but I haven't been able to find one yet. Here is a image if what I am hoping to find: http://cdn.appstorm.net/mac.appstorm.net/files/2009/01/picture-7-620x402.png | |
Hello, I am getting a weird error when i try to run this array: //leafly api keys $appID ='Blah'; $appKEY = 'blah'; //init curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://data.leafly.com/strains/".strtolower($data)); //change the strain dynamically of course for your app curl_setopt($ch,CURLOPT_HTTPHEADER,array('APP_ID:'.$appID,'APP_KEY:'.$appKEY)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); //Clean it into an … | |
I have a known good web page that works without (known) errors when it loads. However, when I try to load it using a very laggy connection (more than 6-10 seconds to load the page - when all works well, it can load in under 500 ms), my hosting provider … | |
Hey all, I have done a lot of research on this subject but cannot seem to get this to work again. I recently went from tinymce 3 to 4 and it seems that its kind of broken with jquery ui tabs. I have one main textarea that shows the editor … | |
I am trying to integrate Leaflet (http://leafletjs.com/index.html) I just copy-and-paste'd the very first demo code but it only displays a gray map.. Here is my code: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> </head> <body> <div id='map'> <script> var map = $('#map'); map.css('height', 375); map.css('width', 500); var … | |
Hi guys, i just scanned my computer using AdwCleaner[(latest update)](http://pcsupport.about.com/gi/o.htm?zi=1/XJ&zTi=1&sdn=pcsupport&cdn=compute&tm=29&f=21&su=p284.13.342.ip_&tt=65&bt=5&bts=0&zu=http%3A//www.piriform.com/ccleaner/builds) and after scanning listed is C:\Program Files (x86)\Speedial so i checked out the folder and in the folder : a folder named bh but nothing in it, FavIcon (ico file), and Sqlite3.dll. Should i remove C:\Program Files (x86)\Speedial ? if … | |
I want the field entries to be posted to a new row on the table on the same page [without refreshing] but I have no idea what to do. Please help. <!DOCTYPE HTML> <HEAD> <style type="text/css"> body { background-image:url('http://s3.amazonaws.com/br-cdn/temp_images/2014/03/03/bcada532fad70fea292c3dfacdd14e7b.gif?1393878752'); background-repeat:repeat; width:750pt; margin:0 auto;} p {font-size:12pt; font-family:Trebuchet MS;} form {font-size:12pt; color:blue; … ![]() | |
Hi all, So here's some background information on what we are trying to setup. We have two data centers over 40km apart and one of them runs the webserver (over 80 websites) and we use another machine on the other side to keep backups (typical cpanel backups). So I have … | |
As I spend time in the Daniweb forums, I see some questions that ultimately come down to the issue of manipulating JavaScript data and a user interface on a website. When you build a GUI that lets your user view, add, edit, and delete data, a common approach is to … |
The End.