Stopping scripters from slamming your website

I've accepted an answer, but sadly, I believe we're stuck with our original worst case scenario: CAPTCHA everyone on purchase attempts of the crap. Short explanation: caching / web farms make it...

Improving Javascript Load Times - Concatenation vs Many + Cache

I'm wondering which of the following is going to result in better performance for a page which loads a large amount of javascript (jQuery + jQuery UI + various other javascript files). I have...

Binding onload event on image object in jQuery

I have following code on my site: backgroundImages[bg_img_path_b]=new Image(); backgroundImages[bg_img_path_b].src = bg_img_path_b; backgroundImages[bg_img_path_b].loaded="loading"; ...

What are the speed diferences between object's property access and normal variable access?

Before fully defining my question, I must say that >>this question/answer<< doesn't answer my problem, and I have proven it to myself that the given answer doesn't match at all with the actual...

Grunt JS / Yeoman Generator with Sass, Compass, Susy

New to Grunt JS. Trying to add Compass/Susy to a project that I created with Grunt/Yeoman. Not 100% sure how the difffernece but here is what i think and the overall synopsis of my problem: Bower...

grunt serve: concurrent:server aborts due to warnings

suddenly my projects stops working with grunt. Unfortunately, I haven't committed my changes for a while into git, so I can't tell whats different. When I run grunt server --verbose, I get the...

Improving Performance on massive IndexedDB Insert

We are trying to pre-cache a large sum of data on load of our web application into indexed db. From my performance testing the speed is decent on a desktop browser (e.g. Internet Explorer) where I...

Angular 2 Application reacting very slowly only while Chrome DevTools is open

My Angular 2 Application is slow to respond (1-5 seconds) to key input, button clicks, tabbing across inputs, etc. only when Chrome Developer Tools is open. Material 2 animations also become slow...

vendor folder is not present in my docker image

I'm trying to build a deployable image of my laravel app into docker. Here is my dockerfile: FROM php:7.1.14-fpm ENV node_version 8.4.0 ENV npm_version 5.7.1 RUN echo "deb...

Babel 7 disable --isolatedModules Typescript flag?

How can I disable --isolatedModules flag in Babel 7, it causes everything to crash. It crashes on: 'use strict' const enums, which are used by CRA's own dependencies (chalk) also fail so im not...

Can't Deploy React SPA in .NET Core2.2 on IIS with Nested Path

Having an issue trying to deploy a .Net Core 2.2 MVC app with React Spa app on an IIS server using a nested URL. I would like to be able to host this app at http://localhost/apps/webApp, but keep...

React downloads pending images of previous render

(Update: previously, I thought this problem was caused by React Router, but I have stripped React Router out of the code, and the problem still persists. So I have modified this question...

How to parallelize requests with MySQL+PHP+nginx?

Recent Discovery Among everything else I tried, I replaced my JMeter profile with a custom JavaScript that hit each of my API endpoints in turn in an infinite loop, and then ran this script in...

TypeError: Cannot read property 'webpackJsonp' of undefined

I have a react app (app A), created about 2 years ago using create-react-app, and it's ejected. The app is exported as a commonjs2 module and shipped in an NPM package, to be used in a next.js...

Google Cloud Function: Dependency not found

I am developing a project on Nuxt that I am deploying as a Google Cloud Function. (I Chose this as I am using a Cloud Firestore for my data storage) It all works very nicely so far (Except the...

Webpack watch config in development mode not copying css files using boilerplate created by create react app

I am developing chrome extension with react using create react app v3 boilerplate. I am using inject page strategy using content scripts. I am not using webpack dev server instead I had a watch...

Content Type for URL automatically changing from text/html to application/rss+xml when loading RSS URL /feed/

There are a series of weird behaviors which all seem to be stemming from a Content-Type header issue. The site will be running fine but then the problem happens "randomly" throughout the day. But...

How to prevent web page from downloading same image over and over again?

In my web page I have the same image used ~5000 times in different places. I always heard that browser will automatically cache images and I should not worry about it, yet, when I profiled my page...

Website performance slow for few users & very fast for others

I am facing a performance issue with one of our website build based of angularJS & .net, which is internal use only website of my company. It's brand new website, so not more than couple people...

How to get Pi-hole to reduce DNS query time

I was able to successfully set up dnsmasq on a small server computer such that dig bing.com yields: ;;Query time: 12 msec then repeating the command yeilds: ;;Query time: 0 msec Great. That...

How to speed up JavaScript image loading

I have a website that needs to load 10 images at page load. However, I need to perform a few operations on the images before they're inserted into the DOM. When I load the images using fetch...

Access WebMail(i.e:"Mail.com") Emails Over Basic HTML Version WebSite From Basic/TB WebBrowser

QUESTION(s) : (1) How can users or I have direct-access (aka: view, send, receive, etc capabilities) for  web-emails/web-mails (i.e:"Mail.com") , from  simple/basic/lightweight/mobile ...

Matplotlib created a temporary config/cache directory

Matplotlib created a temporary config/cache directory at /var/www/.config/matplotlib because the default path (/tmp/matplotlib-b33qbx_v) is not a writable directory; it is highly recommended to...

Plugin could not be registered at 'html-webpack-plugin-before-html-processing'. Hook was not found

this is the error: Plugin could not be registered at 'html-webpack-plugin-before-html-processing'. Hook was not found. BREAKING CHANGE: There need to exist a hook at 'this.hooks'. To create a...

Capybara/Rspec - Session Lost on second scenario with Ajax request

I'm beating my head on trying to solve this issue. I have a feature spec that I'm writing where I have multiple scenarios written and I want them all to run within the same user session. The tests...

Styled components: babel-plugin-styled-components not working

I've been trying to get the babel-plugin-styled-components plugin to work with my webpack/babelrc configuration but I have not been able to do so. I am using babel-loader and no matter what I try...

Server side rendering issue over a CDN

I have recently launched a site that uses server side rendering (with next.js). The site has login functionality where if an authentication cookie is present from a user's request then it will...

Upgrade to Webpack 5 failing

I am attempting upgrade to Webpack 4 to Webpack 5. However when I run npm start I get this error. Funny thing is I don't use applyWebpackOptionsDefaults anywhere and after scouring the...

ReferenceError: require is not defined using webpack5 and babel

I created an application using CRA, but updated it to be using webpack5, so I had to make some modifications into the webpack.config in order to support the changes on it. Now, I am able to put...

Django MemcacheUnexpectedCloseError and [WinError 10061] No connection could be made because the target machine actively refused it

Hi I am new at django and trying to use django-cache to speed up page load that will list out 100 companies and their details per page but I am constantly running into errors. When I use the IP...