{"id":39100,"date":"2023-11-18T14:51:24","date_gmt":"2023-11-18T12:51:24","guid":{"rendered":"https:\/\/dragosoft.info\/?p=39100"},"modified":"2023-11-18T15:56:23","modified_gmt":"2023-11-18T13:56:23","slug":"optimized-on-wordpress-sait-for-speed","status":"publish","type":"post","link":"https:\/\/dragosoft.info\/en\/optimized-on-wordpress-sait-for-speed\/","title":{"rendered":"Optimize WordPress site for faster loading, higher security and implementation of Progressive Web App"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"39100\" class=\"elementor elementor-39100\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e733b6c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e733b6c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f42a004\" data-id=\"f42a004\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bd60018 elementor-widget elementor-widget-text-editor\" data-id=\"bd60018\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/wordpress.org\/\" rel=\"nofollow noopener\" target=\"_blank\">WordPress<\/a> is one of the most popular website building platforms, but to ensure an optimal user experience, it's important to optimize it for faster loading, increased security, and the inclusion of advanced technologies like Progressive Web App (PWA).<\/p><p>The first thing we need to do to technically optimize WordPress is to test our site for speed and performance. For this purpose we use one of the most widely used tools, namely <a href=\"https:\/\/pagespeed.web.dev\/\" rel=\"nofollow noopener\" target=\"_blank\">PageSpeed Insights.\u00a0<\/a><\/p><p>Is it possible to achieve the cherished goal of 100\/100 points on the Google test? It is possible, but we have to be careful not to break the design and functionality of the site.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-1dea1ad elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1dea1ad\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-7c1ad0d\" data-id=\"7c1ad0d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e6763e9 elementor-widget elementor-widget-heading\" data-id=\"e6763e9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Desktop devices<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5010377 elementor-widget elementor-widget-image\" data-id=\"5010377\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"514\" src=\"https:\/\/dragosoft.info\/wp-content\/uploads\/2023\/11\/D-Soft-score-desktop.jpg\" class=\"attachment-large size-large wp-image-39103\" alt=\"Optimizing WordPress for desktop\" srcset=\"https:\/\/dragosoft.info\/wp-content\/uploads\/2023\/11\/D-Soft-score-desktop.jpg 1000w, https:\/\/dragosoft.info\/wp-content\/uploads\/2023\/11\/D-Soft-score-desktop-300x193.jpg 300w, https:\/\/dragosoft.info\/wp-content\/uploads\/2023\/11\/D-Soft-score-desktop-768x493.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" title=\"\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-e3612a3\" data-id=\"e3612a3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e002210 elementor-widget elementor-widget-heading\" data-id=\"e002210\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Mobile<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8bc19c2 elementor-widget elementor-widget-image\" data-id=\"8bc19c2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"518\" src=\"https:\/\/dragosoft.info\/wp-content\/uploads\/2023\/11\/D-Soft-score-mobile.jpg\" class=\"attachment-large size-large wp-image-39104\" alt=\"Optimizing WordPress for mobile\" srcset=\"https:\/\/dragosoft.info\/wp-content\/uploads\/2023\/11\/D-Soft-score-mobile.jpg 1000w, https:\/\/dragosoft.info\/wp-content\/uploads\/2023\/11\/D-Soft-score-mobile-300x194.jpg 300w, https:\/\/dragosoft.info\/wp-content\/uploads\/2023\/11\/D-Soft-score-mobile-768x497.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" title=\"\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-5538a74 elementor-widget elementor-widget-text-editor\" data-id=\"5538a74\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the next article, we will look at the steps you can take to achieve these goals.<\/p><h2>1. <strong>Image Caching and Optimization:<\/strong><\/h2><ul><li>Use caching to reduce page load times.<\/li><li>Optimize your images before uploading them to the site through compression and resizing.<\/li><li>Implement a modern format for WEBP images.<\/li><\/ul><h2>2. <strong>Using Content Delivery Network (CDN):<\/strong><\/h2><ul><li>Integrate a CDN to accelerate access to your site resources from different geographic locations.<\/li><\/ul><h2>3. <strong>Minification of CSS, JavaScript and HTML:<\/strong><\/h2><ul><li>Minify and merge CSS, JavaScript and HTML files to reduce their size and load time.<\/li><\/ul><h2>4. <strong>Using Lazy Loading:<\/strong><\/h2><ul><li>Turn on Lazy Loading for images and videos to load only when visible to the user.<\/li><\/ul><h2>5. <strong>Kesha Management:<\/strong><\/h2><ul><li>Use caching strategies and tools like WP Super Cache or W3 Total Cache to improve loading speed.<\/li><\/ul><h2>6. <strong>Progressive Web App (PWA) implementation:<\/strong><\/h2><ul><li>Add a manifest file and server worker to turn your website into a PWA, allowing it to work offline and provide an enhanced mobile experience. This allows the site to run in <strong>APP<\/strong> app on Android, iOS, Windows, thus meeting the requirements for universality and usability on all devices.<\/li><\/ul><h2>7. <strong>Site Security:<\/strong><\/h2><ul><li>Install an SSL certificate to encrypt the data between the user's browser and the server.<\/li><li>Update WordPress and plugins regularly to limit the risk of malicious attacks.<\/li><\/ul><h2>8. <strong>Security Headers implementation:<\/strong><\/h2><ul><li>Add Security Headers such as Content Security Policy (CSP), Strict-Transport-Security (HSTS) and X-Content-Type-Options to enhance your site security. This step is important to submit your website and\/or domain to an approved HSTS list. Google officially compiles this list and it is used by Chrome, Firefox, Opera, Safari, IE11 and Edge.<\/li><\/ul><h2>9. <strong>Defense Against Bruteforce Attacks:<\/strong><\/h2><ul><li>Use plugins to protect against bruteforce attacks, such as <strong><a href=\"https:\/\/wordpress.org\/plugins\/wordfence\/\" rel=\"nofollow noopener\" target=\"_blank\">Wordfence<\/a><\/strong> or Sucuri Security.<\/li><\/ul><h2>10. <strong>Regular Back-up:<\/strong><\/h2><ul><li>Perform systematic backups of your database and files to secure against potential information loss.<\/li><\/ul><p>After following these steps, you will significantly improve the performance, security, and user experience of your WordPress website. Maintain regular updates and stay on top of new web development trends to keep your site up-to-date and secure.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ac21cd1 elementor-widget elementor-widget-heading\" data-id=\"ac21cd1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Want professional optimization and technical support for your website? Just trust us!<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3268185 elementor-align-center elementor-widget elementor-widget-button\" data-id=\"3268185\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-xl\" href=\"tel:+359988922992\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-icon\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-phone-alt\" viewbox=\"0 0 512 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z\"><\/path><\/svg>\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">0988 922 992<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>WordPress is one of the most popular website building platforms, but to ensure an optimal user experience, it's important to optimize it for faster loading times, increased security, and the inclusion of modern technologies like Progressive Web App (PWA).<\/p>\n<p>The first thing we need to do to technically optimize WordPress is to test our site for speed and performance.<\/p>","protected":false},"author":1,"featured_media":39103,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74,20,73],"tags":[],"class_list":["post-39100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-novini-i-funkcii","category-polezno-info","category-skorost-na-zarezhdane-i-optimizacija"],"_links":{"self":[{"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/posts\/39100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/comments?post=39100"}],"version-history":[{"count":0,"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/posts\/39100\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/media\/39103"}],"wp:attachment":[{"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/media?parent=39100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/categories?post=39100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragosoft.info\/en\/wp-json\/wp\/v2\/tags?post=39100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}