Caching in Node.js with Redis: A Beginner’s Guide
Caching is a technique to store frequently used data in a temporary storage so that future requests for that data are faster. In Node.js applications, caching can help improve performance and reduce the load on your database. One popular tool
Salesforce: Call Apex Class on Click of Custom Button
1. Create apex class that you want to call (it should be declared global): Global class Test { Webservice static void testMethod() { //do something. } } Note: Webservice method must be static: Global class Test { Webservice static void
Java Spring | Verifying against WhiteList IP Addresses (spring 4.0.4)
While designing RESTful web services in a Spring-based web application, we may have a requirement that some web services should be allowed to run only from specific IP addresses. Spring framework provides a simple procedure to verify if the incoming
Salesforce | System.LimitException: Too many SOQL queries: 101
You may face this exception sometimes in Salesforce: System.LimitException: Too many SOQL queries: 101 There can be multiple reasons for this exception: Check if SOQL queries are not written in loops Check if DML are not called inside a loop.
Website Performance Testing using Apache Jmeter
Performance testing is used to determine that the web application under test will satisfy high load. Apache Jmeter can be used to analyze overall server machine performance under heavy load. Apache Jmeter Performance test includes: * Load Test * Stress
What is Ajax? How to send the request using different Jquery methods?
What is Ajax? How to send the request using different Jquery methods? Ajax: Ajax stands for Asynchronous JavaScript and XML. Ajax is a technique for creating fast and dynamic web pages. Ajax allows web pages to be updated asynchronously by
Images, Content, scrolling and some other functions not working in Google Chrome (Windows)
Problem: I was facing an issue from the last couple of weeks that the images, content, scrolling and some functions were not working in my browser while testing applications but if I try it with going incognito everything looks great.
Application Structure comparison between Laravel and Cakephp 3.x
Cakephp and Laravel are MVC frameworks for php. Both frameworks have totally different application structure. In the following document I have described all the important folders and their respective locations in Cakephp and Laravel (project_name is the root folder of
Moodle/Totara | Different ways to enable/disable maintenance mode
There are multiple ways to enable/disable maintenance mode in Moodle. From UI Enable Maintenance Mode: * Go to the Site Administration. * Click on Server. * Click on Maintenance Mode option: * On the next screen: Maintenance mode ->Select “Enable”
Diagnosing the exception: System.Data.entity.Internal.appConfig threw an Exception
‘System.Data.entity.Internal.appConfig’ exception generally arises from your configuration file like web.config file due to some conflicting statements. I faced this error during login process: During debugging I found that this error was thrown to me at the step of entity framework
