golden hour
/opt/cloudlinux/venv/lib/python3.11/site-packages/xray/adviser/advice_types
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
588 B
Del
OK
__pycache__
-
Del
OK
cdn.py
1.04 KB
Del
OK
cpcss.py
1.12 KB
Del
OK
imgopt.py
1.09 KB
Del
OK
roc.py
1.07 KB
Del
OK
som.py
1002 B
Del
OK
wpos_base.py
6.88 KB
Del
OK
Edit: imgopt.py
# -*- coding: utf-8 -*- # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2023 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT """ This module contains a class for applying Image Optimization Advice """ import logging from xray import gettext as _ from .wpos_base import WPOSModuleApply logger = logging.getLogger('imgopt_advice') class ImgOptAdvice(WPOSModuleApply): """Image Optimization advice""" short_description = _("Turn on Image Optimization") detailed_description = _("Website load times and the speed score " "for many of your site visitors can be improved " "by enabling the Image Optimization.\n" "Note: Applying the current advice will also enable the AccelerateWP feature.") apply_advice_button_text = None upgrade_to_apply_button_text = None email_view_advice_text = None email_subject = None module_name = 'image_optimization' is_premium_feature = True suite = 'accelerate_wp_premium'
Save