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
Cloudfront cache issues when content updates to new version
Problem: Cloudfront caches most of the objects and it becomes a problem when content updates to a new version of the origin server. CloudFront doesn’t retrieve the latest version of objects instantly from the origin server, it generally takes 24
Preserving Local Storage Data Across DataTable Pages In Javascript
When we write data in local storage it is not kept between dataTable pages. It will overwrite the old data with a new one on each page, means your previous data will be lost on a new dataTable page. The
Jquery Datatable Callbacks
Jquery data table callbacks are used when you want to perform some action on a certain event in the data table. For eg. when you want to modify a particular row or cell every time the table is redrawn. List
Make VisualForce Page externally accessible by non-salesforce Users
Steps to make VisualForce Page externally accessible by non-salesforce Users/External Users: 1. Create a VisualForce page that you want to make externally accessible by non-salesforce Users/External Users. Here, I’ve created a VisualForce Page named as ‘Multi-Select List’. I’ve also created
Linux Truncate (Log)File
Commands to empty logfile : 1. :>logfile – If logfile does not exist, this will create an empty log file, otherwise it will empty the existing file. 2. cat /dev/null > logfile – This is equivalent to above command. Command
Adding a custom widget in wordpress wp-admin dashboard
How to add a custom widget in wordpress wp-admin dashboard? In following screenshot those boxes in red need to show custom widgets. How to accomplish it: For adding the custom widget in wordpress admin you have to add this code
Cross Domain XMLHttpRequest problem and some solutions
Cross-domain request: Cross-domain request is requesting the content from another host. When we request to a third party site to get content that is called cross-domain request. By default XMLHttpRequest (XHR) request allows transferring data only if both parties have the
MySQL | Communications link failure
MySql Communication link failure while connecting MySql server remotely I’m getting the following error when I tried to connect MySql server remotely: ERROR: —————————————— Cannot connect to database server Communications link failure The last packet sent successfully to the server
Schedule CSV Import from Google Drive to ZOHO reports
Zoho reports have the feature to import data into a table from cloud storage like Google Drive. We can also schedule the import at a specific interval. Here in the example below, we are importing the data from Google Drive.
