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
In Laravel how to redirect to 404 page on accessing post route
In Laravel, when a user directly accesses a post route then an exception page is shown. How to show a 404 page instead? To fix this issue : Firstly, you need to create an error page in view folder of
Short introduction to google analytics
Google Analytics: Google Analytics is a free Web analytics service offered by google that tracks and reports website traffic. The service is available to anyone with a Google account. Why every website owner needs Google Analytics: These are some statistics
CakePhp 3.x | Send Email using SMTP
To send an email in cakephp use Email class of Cakephp 3. In app.php under config folder, add a new entry in the table EmailTransport. For example here ‘mail’. Specify host, port, username and password in it: ‘EmailTransport’ => [
PHP | Show star rating (empty or filled stars)
Sometimes situation arises when we have to show the ratings on our site like user rating of all the products available on our site. Then we have to first get the rating from where we have it like sometimes it
Few key points for good SEO revisited
There are number of things that you should follow to improve SEO for your web pages and site ranking, some of which are listed below for a sample webpage that covers Tutorial for Javascript: 1. Make a separate page which
Upgrade to php 5.6 and apache 2.2 to apache 2.4.17 in ubuntu 12.04
These are the steps to upgrade to PHP 5.6: Add the PPA containing version 5.6 of php for Ubuntu 12.04: sudo apt-add-repository ppa:ondrej/php5-5.6 sudo apt-add-repository ppa:ondrej/php5 Run these command in terminal to upgrade php : sudo apt-get update If everything
Display remotely hosted HTML content as SCORM
How to display remotely hosted HTML content as SCORM package in Moodle, Totara or any other LMS? SCORM requires the content to be served from the same domain as the SCORM player or the Learning Management System (like Moodle, Totara)
Open specific local Outlook window from .msg file
C# : Triggering the Local Outlook for forward, reply and reply all actions from existing .msg file For the desktop based applications when user is dealing with the store outlook files in msg format we can open local outlook when
Problem – First submenu item same as main menu in WordPress
While implementing a custom plugin in wordpress, we can simply add submenu items for our plugin by this code: public function PluginMenu() { $this->my_plugin_screen_name = add_menu_page( ‘My Reviews’, ‘My Reviews’, ‘manage_options’, __FILE__, array($this, ‘RenderPage’), ‘dashicons-format-quote’ ); } But in wordpress,
