LiteSpeed Cache - Version 3.2.3.1

Version Description

  • Jun 18 2020 =
  • API New filter litespeed_buffer_before and litespeed_buffer_after. (#PR243 @joejordanbrown)
Download this release

Release Info

Developer LiteSpeedTech
Plugin Icon 128x128 LiteSpeed Cache
Version 3.2.3.1
Comparing to
See all releases

Code changes from version 3.2.2 to 3.2.3.1

Files changed (70) hide show
  1. LICENSE +674 -0
  2. assets/js/litespeed-cache-admin.js +21 -0
  3. data/const.default.ini +3 -0
  4. data/esi.nonce.txt +5 -0
  5. lang/litespeed-cache.pot +381 -350
  6. litespeed-cache.php +2 -2
  7. readme.txt +15 -3
  8. src/admin-display.cls.php +27 -22
  9. src/api.cls.php +5 -0
  10. src/base.cls.php +83 -82
  11. src/cloud.cls.php +18 -0
  12. src/conf.cls.php +1 -0
  13. src/core.cls.php +6 -0
  14. src/data.cls.php +9 -15
  15. src/doc.cls.php +1 -0
  16. src/esi.cls.php +37 -0
  17. src/lang.cls.php +1 -0
  18. src/optimize.cls.php +55 -44
  19. src/optimizer.cls.php +21 -15
  20. src/rest.cls.php +57 -48
  21. src/router.cls.php +10 -13
  22. thirdparty/woocommerce.content.tpl.php +2 -2
  23. tpl/cache/network_settings-advanced.tpl.php +1 -1
  24. tpl/cache/network_settings-cache.tpl.php +2 -1
  25. tpl/cache/network_settings-excludes.tpl.php +1 -1
  26. tpl/cache/network_settings-purge.tpl.php +1 -1
  27. tpl/cache/settings-advanced.tpl.php +3 -3
  28. tpl/cache/settings-cache.tpl.php +8 -20
  29. tpl/cache/settings-esi.tpl.php +14 -4
  30. tpl/cache/settings-excludes.tpl.php +1 -1
  31. tpl/cache/settings-purge.tpl.php +2 -2
  32. tpl/cache/settings-ttl.tpl.php +1 -1
  33. tpl/cache/settings_inc.browser.tpl.php +2 -2
  34. tpl/cache/settings_inc.cache_dropquery.tpl.php +24 -0
  35. tpl/cache/settings_inc.login_cookie.tpl.php +5 -2
  36. tpl/cache/settings_inc.object.tpl.php +5 -5
  37. tpl/cdn/settings.tpl.php +6 -6
  38. tpl/crawler/blacklist.tpl.php +4 -1
  39. tpl/crawler/map.tpl.php +4 -1
  40. tpl/crawler/settings-general.tpl.php +1 -1
  41. tpl/crawler/settings-simulation.tpl.php +2 -2
  42. tpl/crawler/settings-sitemap.tpl.php +1 -1
  43. tpl/crawler/summary.tpl.php +4 -2
  44. tpl/dash/dashboard.tpl.php +1 -1
  45. tpl/db_optm/entry.tpl.php +1 -1
  46. tpl/db_optm/manage.tpl.php +4 -1
  47. tpl/db_optm/settings.tpl.php +1 -1
  48. tpl/general/network_settings.tpl.php +1 -1
  49. tpl/general/settings.tpl.php +1 -1
  50. tpl/img_optm/network_settings.tpl.php +1 -1
  51. tpl/img_optm/settings.tpl.php +3 -3
  52. tpl/img_optm/summary.tpl.php +7 -7
  53. tpl/inc/check_cache_disabled.php +4 -4
  54. tpl/inc/help_tabs.php +2 -2
  55. tpl/inc/show_rule_conflict.php +2 -2
  56. tpl/page_optm/settings_css.tpl.php +23 -4
  57. tpl/page_optm/settings_discussion.tpl.php +1 -1
  58. tpl/page_optm/settings_html.tpl.php +6 -6
  59. tpl/page_optm/settings_js.tpl.php +4 -5
  60. tpl/page_optm/settings_media.tpl.php +6 -6
  61. tpl/page_optm/settings_media_exc.tpl.php +1 -1
  62. tpl/page_optm/settings_tuning.tpl.php +1 -1
  63. tpl/toolbox/beta_test.tpl.php +5 -2
  64. tpl/toolbox/edit_htaccess.tpl.php +1 -1
  65. tpl/toolbox/heartbeat.tpl.php +1 -1
  66. tpl/toolbox/import_export.tpl.php +4 -1
  67. tpl/toolbox/log_viewer.tpl.php +1 -0
  68. tpl/toolbox/purge.tpl.php +7 -4
  69. tpl/toolbox/report.tpl.php +4 -1
  70. tpl/toolbox/settings-debug.tpl.php +2 -2
LICENSE ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
622
+
623
+ How to Apply These Terms to Your New Programs
624
+
625
+ If you develop a new program, and you want it to be of the greatest
626
+ possible use to the public, the best way to achieve this is to make it
627
+ free software which everyone can redistribute and change under these terms.
628
+
629
+ To do so, attach the following notices to the program. It is safest
630
+ to attach them to the start of each source file to most effectively
631
+ state the exclusion of warranty; and each file should have at least
632
+ the "copyright" line and a pointer to where the full notice is found.
633
+
634
+ <one line to give the program's name and a brief idea of what it does.>
635
+ Copyright (C) <year> <name of author>
636
+
637
+ This program is free software: you can redistribute it and/or modify
638
+ it under the terms of the GNU General Public License as published by
639
+ the Free Software Foundation, either version 3 of the License, or
640
+ (at your option) any later version.
641
+
642
+ This program is distributed in the hope that it will be useful,
643
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
+ GNU General Public License for more details.
646
+
647
+ You should have received a copy of the GNU General Public License
648
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
649
+
650
+ Also add information on how to contact you by electronic and paper mail.
651
+
652
+ If the program does terminal interaction, make it output a short
653
+ notice like this when it starts in an interactive mode:
654
+
655
+ <program> Copyright (C) <year> <name of author>
656
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
+ This is free software, and you are welcome to redistribute it
658
+ under certain conditions; type `show c' for details.
659
+
660
+ The hypothetical commands `show w' and `show c' should show the appropriate
661
+ parts of the General Public License. Of course, your program's commands
662
+ might be different; for a GUI interface, you would use an "about box".
663
+
664
+ You should also get your employer (if you work as a programmer) or school,
665
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
666
+ For more information on this, and how to apply and follow the GNU GPL, see
667
+ <https://www.gnu.org/licenses/>.
668
+
669
+ The GNU General Public License does not permit incorporating your program
670
+ into proprietary programs. If your program is a subroutine library, you
671
+ may consider it more useful to permit linking proprietary applications with
672
+ the library. If this is what you want to do, use the GNU Lesser General
673
+ Public License instead of this License. But first, please read
674
+ <https://www.gnu.org/licenses/why-not-lgpl.html>.
assets/js/litespeed-cache-admin.js CHANGED
@@ -220,6 +220,27 @@ var _litespeed_dots ;
220
  } ) ;
221
  } ) ;
222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  /**
224
  * Click only once
225
  */
220
  } ) ;
221
  } ) ;
222
 
223
+ /**
224
+ * Get latest nonce
225
+ * @since 3.2.3
226
+ */
227
+ $( '#litespeed_fetch_esi_nonce' ).click( function( e ) {
228
+ $.ajax( {
229
+ url: litespeed_data.ajax_url_fetch_esi_nonce,
230
+ dataType: 'json',
231
+ method: 'POST',
232
+ data: { nonce_val: $( '[name="esi-nonce"]' ).val() },
233
+ beforeSend: function ( xhr ) {
234
+ xhr.setRequestHeader( 'X-WP-Nonce', litespeed_data.nonce );
235
+ },
236
+ success: function( data ) {
237
+ if ( data.list ) {
238
+ $( '[name="esi-nonce"]' ).val( data.list );
239
+ }
240
+ }
241
+ } );
242
+ } );
243
+
244
  /**
245
  * Click only once
246
  */
data/const.default.ini CHANGED
@@ -221,6 +221,9 @@ optm-css_comb = false
221
 
222
  optm-css_comb_priority = false
223
 
 
 
 
224
  ; O_OPTM_CSS_HTTP2
225
  optm-css_http2 = false
226
 
221
 
222
  optm-css_comb_priority = false
223
 
224
+ ; O_OPTM_CSS_UNIQUE
225
+ optm-css_unique = false
226
+
227
  ; O_OPTM_CSS_HTTP2
228
  optm-css_http2 = false
229
 
data/esi.nonce.txt CHANGED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ cmreg_registration_nonce private
2
+ role_nonce private
3
+
4
+ # Woocommerce Delivery Area Pro #16843635
5
+ wdap-call-nonce private
lang/litespeed-cache.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the LiteSpeed Cache package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: LiteSpeed Cache 3.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/litespeed-cache\n"
7
- "POT-Creation-Date: 2020-06-10 18:52:42+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -66,7 +66,7 @@ msgstr ""
66
  msgid "Database"
67
  msgstr ""
68
 
69
- #: src/admin-display.cls.php:168 src/lang.cls.php:209
70
  msgid "Crawler"
71
  msgstr ""
72
 
@@ -74,24 +74,25 @@ msgstr ""
74
  msgid "Toolbox"
75
  msgstr ""
76
 
77
- #: src/admin-display.cls.php:254 src/gui.cls.php:602
78
  msgid "Settings"
79
  msgstr ""
80
 
81
- #: src/admin-display.cls.php:274
82
  msgid ""
83
  "It is recommended that LiteSpeed Cache be purged after updating a plugin."
84
  msgstr ""
85
 
86
- #: src/admin-display.cls.php:669
87
  msgid "Save Changes"
88
  msgstr ""
89
 
90
- #: src/admin-display.cls.php:790 src/admin-display.cls.php:826
91
- #: src/admin-display.cls.php:878 tpl/cache/settings-cache.tpl.php:19
92
  #: tpl/cache/settings_inc.cache_mobile.tpl.php:70 tpl/cdn/settings.tpl.php:49
93
- #: tpl/page_optm/settings_css.tpl.php:73 tpl/page_optm/settings_css.tpl.php:90
94
- #: tpl/page_optm/settings_css.tpl.php:91 tpl/page_optm/settings_js.tpl.php:90
 
95
  #: tpl/page_optm/settings_media.tpl.php:156
96
  #: tpl/page_optm/settings_tuning.tpl.php:36
97
  #: tpl/page_optm/settings_tuning.tpl.php:78
@@ -99,11 +100,11 @@ msgstr ""
99
  msgid "ON"
100
  msgstr ""
101
 
102
- #: src/admin-display.cls.php:791 src/admin-display.cls.php:825
103
- #: src/admin-display.cls.php:878 tpl/cache/settings-cache.tpl.php:19
104
  #: tpl/cache/settings_inc.object.tpl.php:210 tpl/cdn/settings.tpl.php:49
105
- #: tpl/cdn/settings.tpl.php:237 tpl/page_optm/settings_css.tpl.php:90
106
- #: tpl/page_optm/settings_css.tpl.php:105
107
  #: tpl/page_optm/settings_media.tpl.php:159
108
  #: tpl/page_optm/settings_tuning.tpl.php:33
109
  #: tpl/page_optm/settings_tuning.tpl.php:75
@@ -111,66 +112,66 @@ msgstr ""
111
  msgid "OFF"
112
  msgstr ""
113
 
114
- #: src/admin-display.cls.php:890
115
  msgid "This setting is overwritten by the PHP constant %s"
116
  msgstr ""
117
 
118
- #: src/admin-display.cls.php:892
119
  msgid "This setting is overwritten by the primary site setting"
120
  msgstr ""
121
 
122
- #: src/admin-display.cls.php:895
123
  msgid "currently set to %s"
124
  msgstr ""
125
 
126
- #: src/admin-display.cls.php:906 tpl/cache/settings_inc.object.tpl.php:103
127
  #: tpl/crawler/settings-general.tpl.php:60
128
  #: tpl/crawler/settings-general.tpl.php:74
129
  #: tpl/crawler/settings-general.tpl.php:89 tpl/esi_widget_edit.php:70
130
  msgid "seconds"
131
  msgstr ""
132
 
133
- #: src/admin-display.cls.php:929 src/admin-display.cls.php:934
134
  msgid "Recommended value"
135
  msgstr ""
136
 
137
- #: src/admin-display.cls.php:959
138
  msgid "Invalid rewrite rule"
139
  msgstr ""
140
 
141
- #: src/admin-display.cls.php:977
142
  msgid "Path must end with %s"
143
  msgstr ""
144
 
145
- #: src/admin-display.cls.php:996
146
  msgid "Minimum value"
147
  msgstr ""
148
 
149
- #: src/admin-display.cls.php:999
150
  msgid "Maximum value"
151
  msgstr ""
152
 
153
- #: src/admin-display.cls.php:1011
154
  msgid "Zero, or"
155
  msgstr ""
156
 
157
- #: src/admin-display.cls.php:1018
158
  msgid "Larger than"
159
  msgstr ""
160
 
161
- #: src/admin-display.cls.php:1021
162
  msgid "Smaller than"
163
  msgstr ""
164
 
165
- #: src/admin-display.cls.php:1024
166
  msgid "Value range"
167
  msgstr ""
168
 
169
- #: src/admin-display.cls.php:1050
170
  msgid "Invalid IP"
171
  msgstr ""
172
 
173
- #: src/admin-display.cls.php:1071 tpl/page_optm/settings_css.tpl.php:75
174
  #: tpl/page_optm/settings_html.tpl.php:127
175
  #: tpl/page_optm/settings_media_exc.tpl.php:25
176
  #: tpl/page_optm/settings_tuning.tpl.php:39
@@ -181,49 +182,50 @@ msgstr ""
181
  msgid "API"
182
  msgstr ""
183
 
184
- #: src/admin-display.cls.php:1072
185
  msgid "Server variable(s) %s available to override this setting."
186
  msgstr ""
187
 
188
- #: src/admin-display.cls.php:1090 src/doc.cls.php:38 tpl/cdn/manage.tpl.php:66
189
- #: tpl/dash/dashboard.tpl.php:46 tpl/img_optm/summary.tpl.php:56
190
- #: tpl/img_optm/summary.tpl.php:96 tpl/inc/check_cache_disabled.php:42
 
191
  msgid "Learn More"
192
  msgstr ""
193
 
194
- #: src/admin-display.cls.php:1106
195
  msgid "The URLs will be compared to the REQUEST_URI server variable."
196
  msgstr ""
197
 
198
- #: src/admin-display.cls.php:1107
199
  msgid "For example, for %s, %s can be used here."
200
  msgstr ""
201
 
202
- #: src/admin-display.cls.php:1109
203
  msgid "To match the beginning, add %s to the beginning of the item."
204
  msgstr ""
205
 
206
- #: src/admin-display.cls.php:1110
207
  msgid "To do an exact match, add %s to the end of the URL."
208
  msgstr ""
209
 
210
- #: src/admin-display.cls.php:1111 src/doc.cls.php:49
211
  msgid "One per line."
212
  msgstr ""
213
 
214
- #: src/admin-display.cls.php:1126
215
  msgid "%s groups"
216
  msgstr ""
217
 
218
- #: src/admin-display.cls.php:1129
219
  msgid "%s images"
220
  msgstr ""
221
 
222
- #: src/admin-display.cls.php:1139
223
  msgid "%s group"
224
  msgstr ""
225
 
226
- #: src/admin-display.cls.php:1142
227
  msgid "%s image"
228
  msgstr ""
229
 
@@ -314,11 +316,11 @@ msgstr ""
314
  msgid "Domain key hash mismatch"
315
  msgstr ""
316
 
317
- #: src/cloud.cls.php:1059
318
  msgid "Sync credit allowance with Cloud Server successfully."
319
  msgstr ""
320
 
321
- #: src/conf.cls.php:726
322
  msgid "Changed setting successfully."
323
  msgstr ""
324
 
@@ -419,18 +421,18 @@ msgstr ""
419
  msgid "This setting will edit the .htaccess file."
420
  msgstr ""
421
 
422
- #: src/doc.cls.php:74
423
  msgid ""
424
  "For online services to work correctly, you must whitelist all online server "
425
  "IPs."
426
  msgstr ""
427
 
428
- #: src/doc.cls.php:75
429
  msgid ""
430
  "Before generating key, please verify all IPs on this list are whitelisted"
431
  msgstr ""
432
 
433
- #: src/doc.cls.php:76 tpl/general/settings.tpl.php:89
434
  msgid "Current Online Server IPs"
435
  msgstr ""
436
 
@@ -661,7 +663,7 @@ msgstr ""
661
  msgid "LQIP Cache"
662
  msgstr ""
663
 
664
- #: src/gui.cls.php:553 src/gui.cls.php:695 src/lang.cls.php:141
665
  #: tpl/toolbox/purge.tpl.php:90
666
  msgid "Gravatar Cache"
667
  msgstr ""
@@ -1072,479 +1074,483 @@ msgid "CSS Combine"
1072
  msgstr ""
1073
 
1074
  #: src/lang.cls.php:106
1075
- msgid "CSS HTTP/2 Push"
1076
  msgstr ""
1077
 
1078
  #: src/lang.cls.php:107
 
 
 
 
1079
  msgid "JS Minify"
1080
  msgstr ""
1081
 
1082
- #: src/lang.cls.php:108 tpl/page_optm/settings_js.tpl.php:93
1083
  msgid "JS Combine"
1084
  msgstr ""
1085
 
1086
- #: src/lang.cls.php:109
1087
  msgid "JS HTTP/2 Push"
1088
  msgstr ""
1089
 
1090
- #: src/lang.cls.php:110
1091
  msgid "CSS/JS Cache TTL"
1092
  msgstr ""
1093
 
1094
- #: src/lang.cls.php:111
1095
  msgid "HTML Minify"
1096
  msgstr ""
1097
 
1098
- #: src/lang.cls.php:112
1099
  msgid "Inline CSS Minify"
1100
  msgstr ""
1101
 
1102
- #: src/lang.cls.php:113
1103
  msgid "Inline JS Minify"
1104
  msgstr ""
1105
 
1106
- #: src/lang.cls.php:114 tpl/page_optm/settings_css.tpl.php:91
1107
  #: tpl/page_optm/settings_tuning.tpl.php:131
1108
  msgid "Load CSS Asynchronously"
1109
  msgstr ""
1110
 
1111
- #: src/lang.cls.php:115
1112
  msgid "Generate Critical CSS"
1113
  msgstr ""
1114
 
1115
- #: src/lang.cls.php:116
1116
  msgid "Generate Critical CSS In Background"
1117
  msgstr ""
1118
 
1119
- #: src/lang.cls.php:117
1120
  msgid "Separate CCSS Cache Post Types"
1121
  msgstr ""
1122
 
1123
- #: src/lang.cls.php:118
1124
  msgid "Separate CCSS Cache URIs"
1125
  msgstr ""
1126
 
1127
- #: src/lang.cls.php:119
1128
  msgid "Inline CSS Async Lib"
1129
  msgstr ""
1130
 
1131
- #: src/lang.cls.php:120
1132
  msgid "Font Display Optimization"
1133
  msgstr ""
1134
 
1135
- #: src/lang.cls.php:121
1136
  msgid "Load JS Deferred"
1137
  msgstr ""
1138
 
1139
- #: src/lang.cls.php:122
1140
  msgid "Load Inline JS"
1141
  msgstr ""
1142
 
1143
- #: src/lang.cls.php:123
1144
  msgid "Exclude JQuery"
1145
  msgstr ""
1146
 
1147
- #: src/lang.cls.php:124
1148
  msgid "DNS Prefetch"
1149
  msgstr ""
1150
 
1151
- #: src/lang.cls.php:125
1152
  msgid "DNS Prefetch Control"
1153
  msgstr ""
1154
 
1155
- #: src/lang.cls.php:126
1156
  msgid "Remove Comments"
1157
  msgstr ""
1158
 
1159
- #: src/lang.cls.php:127
1160
  msgid "Combined CSS Priority"
1161
  msgstr ""
1162
 
1163
- #: src/lang.cls.php:128
1164
  msgid "CSS Excludes"
1165
  msgstr ""
1166
 
1167
- #: src/lang.cls.php:129
1168
  msgid "Combined JS Priority"
1169
  msgstr ""
1170
 
1171
- #: src/lang.cls.php:130
1172
  msgid "JS Excludes"
1173
  msgstr ""
1174
 
1175
- #: src/lang.cls.php:131
1176
  msgid "Max Combined File Size"
1177
  msgstr ""
1178
 
1179
- #: src/lang.cls.php:132
1180
  msgid "Remove Query Strings"
1181
  msgstr ""
1182
 
1183
- #: src/lang.cls.php:133
1184
  msgid "Load Google Fonts Asynchronously"
1185
  msgstr ""
1186
 
1187
- #: src/lang.cls.php:134
1188
  msgid "Remove Google Fonts"
1189
  msgstr ""
1190
 
1191
- #: src/lang.cls.php:135
1192
  msgid "Critical CSS Rules"
1193
  msgstr ""
1194
 
1195
- #: src/lang.cls.php:136
1196
  msgid "JS Deferred Excludes"
1197
  msgstr ""
1198
 
1199
- #: src/lang.cls.php:137
1200
  msgid "Remove WordPress Emoji"
1201
  msgstr ""
1202
 
1203
- #: src/lang.cls.php:138
1204
  msgid "URI Excludes"
1205
  msgstr ""
1206
 
1207
- #: src/lang.cls.php:139
1208
  msgid "Role Excludes"
1209
  msgstr ""
1210
 
1211
- #: src/lang.cls.php:142
1212
  msgid "Gravatar Cache Cron"
1213
  msgstr ""
1214
 
1215
- #: src/lang.cls.php:143
1216
  msgid "Gravatar Cache TTL"
1217
  msgstr ""
1218
 
1219
- #: src/lang.cls.php:145
1220
  msgid "Lazy Load Images"
1221
  msgstr ""
1222
 
1223
- #: src/lang.cls.php:146
1224
  msgid "Lazy Load Image Excludes"
1225
  msgstr ""
1226
 
1227
- #: src/lang.cls.php:147
1228
  msgid "Lazy Load Image Class Name Excludes"
1229
  msgstr ""
1230
 
1231
- #: src/lang.cls.php:148
1232
  msgid "Lazy Load Image Parent Class Name Excludes"
1233
  msgstr ""
1234
 
1235
- #: src/lang.cls.php:149
1236
  msgid "Lazy Load Iframe Class Name Excludes"
1237
  msgstr ""
1238
 
1239
- #: src/lang.cls.php:150
1240
  msgid "Lazy Load Iframe Parent Class Name Excludes"
1241
  msgstr ""
1242
 
1243
- #: src/lang.cls.php:151
1244
  msgid "Lazy Load URI Excludes"
1245
  msgstr ""
1246
 
1247
- #: src/lang.cls.php:152
1248
  msgid "Basic Image Placeholder"
1249
  msgstr ""
1250
 
1251
- #: src/lang.cls.php:153
1252
  msgid "Responsive Placeholder"
1253
  msgstr ""
1254
 
1255
- #: src/lang.cls.php:154
1256
  msgid "Responsive Placeholder Color"
1257
  msgstr ""
1258
 
1259
- #: src/lang.cls.php:155
1260
  msgid "Responsive Placeholder SVG"
1261
  msgstr ""
1262
 
1263
- #: src/lang.cls.php:156
1264
  msgid "LQIP Cloud Generator"
1265
  msgstr ""
1266
 
1267
- #: src/lang.cls.php:157
1268
  msgid "LQIP Quality"
1269
  msgstr ""
1270
 
1271
- #: src/lang.cls.php:158
1272
  msgid "LQIP Minimum Dimensions"
1273
  msgstr ""
1274
 
1275
- #: src/lang.cls.php:160
1276
  msgid "Generate LQIP In Background"
1277
  msgstr ""
1278
 
1279
- #: src/lang.cls.php:161
1280
  msgid "Lazy Load Iframes"
1281
  msgstr ""
1282
 
1283
- #: src/lang.cls.php:162
1284
  msgid "Inline Lazy Load Images Library"
1285
  msgstr ""
1286
 
1287
- #: src/lang.cls.php:163
1288
  msgid "Auto Request Cron"
1289
  msgstr ""
1290
 
1291
- #: src/lang.cls.php:164
1292
  msgid "Auto Pull Cron"
1293
  msgstr ""
1294
 
1295
- #: src/lang.cls.php:165
1296
  msgid "Optimize Original Images"
1297
  msgstr ""
1298
 
1299
- #: src/lang.cls.php:166
1300
  msgid "Remove Original Backups"
1301
  msgstr ""
1302
 
1303
- #: src/lang.cls.php:167
1304
  msgid "Create WebP Versions"
1305
  msgstr ""
1306
 
1307
- #: src/lang.cls.php:168
1308
  msgid "Optimize Losslessly"
1309
  msgstr ""
1310
 
1311
- #: src/lang.cls.php:169
1312
  msgid "Preserve EXIF/XMP data"
1313
  msgstr ""
1314
 
1315
- #: src/lang.cls.php:170
1316
  msgid "WebP Attribute To Replace"
1317
  msgstr ""
1318
 
1319
- #: src/lang.cls.php:171
1320
  msgid "WebP For Extra srcset"
1321
  msgstr ""
1322
 
1323
- #: src/lang.cls.php:172
1324
  msgid "WordPress Image Quality Control"
1325
  msgstr ""
1326
 
1327
- #: src/lang.cls.php:173 tpl/esi_widget_edit.php:36
1328
  msgid "Enable ESI"
1329
  msgstr ""
1330
 
1331
- #: src/lang.cls.php:174
1332
  msgid "Cache Admin Bar"
1333
  msgstr ""
1334
 
1335
- #: src/lang.cls.php:175
1336
  msgid "Cache Comment Form"
1337
  msgstr ""
1338
 
1339
- #: src/lang.cls.php:176
1340
  msgid "ESI Nonce"
1341
  msgstr ""
1342
 
1343
- #: src/lang.cls.php:177
1344
  msgid "Vary Group"
1345
  msgstr ""
1346
 
1347
- #: src/lang.cls.php:178
1348
  msgid "Purge All Hooks"
1349
  msgstr ""
1350
 
1351
- #: src/lang.cls.php:179
1352
  msgid "Improve HTTP/HTTPS Compatibility"
1353
  msgstr ""
1354
 
1355
- #: src/lang.cls.php:180
1356
  msgid "Instant Click"
1357
  msgstr ""
1358
 
1359
- #: src/lang.cls.php:181
1360
  msgid "Do Not Cache Cookies"
1361
  msgstr ""
1362
 
1363
- #: src/lang.cls.php:182
1364
  msgid "Do Not Cache User Agents"
1365
  msgstr ""
1366
 
1367
- #: src/lang.cls.php:183
1368
  msgid "Login Cookie"
1369
  msgstr ""
1370
 
1371
- #: src/lang.cls.php:184
1372
  msgid "Image WebP Replacement"
1373
  msgstr ""
1374
 
1375
- #: src/lang.cls.php:186
1376
  msgid "Frontend .htaccess Path"
1377
  msgstr ""
1378
 
1379
- #: src/lang.cls.php:187
1380
  msgid "Backend .htaccess Path"
1381
  msgstr ""
1382
 
1383
- #: src/lang.cls.php:188
1384
  msgid "Frontend Heartbeat Control"
1385
  msgstr ""
1386
 
1387
- #: src/lang.cls.php:189
1388
  msgid "Frontend Heartbeat TTL"
1389
  msgstr ""
1390
 
1391
- #: src/lang.cls.php:190
1392
  msgid "Backend Heartbeat Control"
1393
  msgstr ""
1394
 
1395
- #: src/lang.cls.php:191
1396
  msgid "Backend Heartbeat TTL"
1397
  msgstr ""
1398
 
1399
- #: src/lang.cls.php:192
1400
  msgid "Editor Heartbeat"
1401
  msgstr ""
1402
 
1403
- #: src/lang.cls.php:193
1404
  msgid "Editor Heartbeat TTL"
1405
  msgstr ""
1406
 
1407
- #: src/lang.cls.php:195
1408
  msgid "QUIC.cloud CDN"
1409
  msgstr ""
1410
 
1411
- #: src/lang.cls.php:196
1412
  msgid "Use CDN Mapping"
1413
  msgstr ""
1414
 
1415
- #: src/lang.cls.php:197
1416
  msgid "CDN URL"
1417
  msgstr ""
1418
 
1419
- #: src/lang.cls.php:198
1420
  msgid "Include Images"
1421
  msgstr ""
1422
 
1423
- #: src/lang.cls.php:199
1424
  msgid "Include CSS"
1425
  msgstr ""
1426
 
1427
- #: src/lang.cls.php:200
1428
  msgid "Include JS"
1429
  msgstr ""
1430
 
1431
- #: src/lang.cls.php:201 tpl/cdn/settings.tpl.php:148
1432
  msgid "Include File Types"
1433
  msgstr ""
1434
 
1435
- #: src/lang.cls.php:202
1436
  msgid "HTML Attribute To Replace"
1437
  msgstr ""
1438
 
1439
- #: src/lang.cls.php:203
1440
  msgid "Original URLs"
1441
  msgstr ""
1442
 
1443
- #: src/lang.cls.php:204
1444
  msgid "Included Directories"
1445
  msgstr ""
1446
 
1447
- #: src/lang.cls.php:205
1448
  msgid "Exclude Path"
1449
  msgstr ""
1450
 
1451
- #: src/lang.cls.php:206
1452
  msgid "Load JQuery Remotely"
1453
  msgstr ""
1454
 
1455
- #: src/lang.cls.php:207
1456
  msgid "Cloudflare API"
1457
  msgstr ""
1458
 
1459
- #: src/lang.cls.php:210
1460
  msgid "Delay"
1461
  msgstr ""
1462
 
1463
- #: src/lang.cls.php:211
1464
  msgid "Run Duration"
1465
  msgstr ""
1466
 
1467
- #: src/lang.cls.php:212
1468
  msgid "Interval Between Runs"
1469
  msgstr ""
1470
 
1471
- #: src/lang.cls.php:213
1472
  msgid "Crawl Interval"
1473
  msgstr ""
1474
 
1475
- #: src/lang.cls.php:214
1476
  msgid "Threads"
1477
  msgstr ""
1478
 
1479
- #: src/lang.cls.php:215
1480
  msgid "Timeout"
1481
  msgstr ""
1482
 
1483
- #: src/lang.cls.php:216
1484
  msgid "Server Load Limit"
1485
  msgstr ""
1486
 
1487
- #: src/lang.cls.php:217
1488
  msgid "Role Simulation"
1489
  msgstr ""
1490
 
1491
- #: src/lang.cls.php:218
1492
  msgid "Cookie Simulation"
1493
  msgstr ""
1494
 
1495
- #: src/lang.cls.php:219 tpl/crawler/settings-sitemap.tpl.php:115
1496
  msgid "Custom Sitemap"
1497
  msgstr ""
1498
 
1499
- #: src/lang.cls.php:220
1500
  msgid "Drop Domain from Sitemap"
1501
  msgstr ""
1502
 
1503
- #: src/lang.cls.php:221
1504
  msgid "Sitemap Timeout"
1505
  msgstr ""
1506
 
1507
- #: src/lang.cls.php:223 tpl/inc/disabled_all.php:5
1508
  msgid "Disable All Features"
1509
  msgstr ""
1510
 
1511
- #: src/lang.cls.php:224 tpl/toolbox/log_viewer.tpl.php:7
1512
  msgid "Debug Log"
1513
  msgstr ""
1514
 
1515
- #: src/lang.cls.php:225
1516
  msgid "Admin IPs"
1517
  msgstr ""
1518
 
1519
- #: src/lang.cls.php:226
1520
  msgid "Debug Level"
1521
  msgstr ""
1522
 
1523
- #: src/lang.cls.php:227
1524
  msgid "Log File Size Limit"
1525
  msgstr ""
1526
 
1527
- #: src/lang.cls.php:228
1528
  msgid "Log Cookies"
1529
  msgstr ""
1530
 
1531
- #: src/lang.cls.php:229
1532
  msgid "Collapse Query Strings"
1533
  msgstr ""
1534
 
1535
- #: src/lang.cls.php:230
1536
  msgid "Debug URI Includes"
1537
  msgstr ""
1538
 
1539
- #: src/lang.cls.php:231
1540
  msgid "Debug URI Excludes"
1541
  msgstr ""
1542
 
1543
- #: src/lang.cls.php:233
1544
  msgid "Revisions Max Number"
1545
  msgstr ""
1546
 
1547
- #: src/lang.cls.php:234
1548
  msgid "Revisions Max Age"
1549
  msgstr ""
1550
 
@@ -1848,7 +1854,7 @@ msgstr ""
1848
  msgid "Dismiss this notice"
1849
  msgstr ""
1850
 
1851
- #. #-#-#-#-# litespeed-cache.pot (LiteSpeed Cache 3.2.2) #-#-#-#-#
1852
  #. Plugin Name of the plugin/theme
1853
  #: tpl/banner/new_version.php:59 tpl/banner/new_version_dev.tpl.php:12
1854
  #: tpl/cache/more_settings_tip.tpl.php:15 tpl/inc/admin_footer.php:8
@@ -1864,7 +1870,7 @@ msgid "New release %s is available now."
1864
  msgstr ""
1865
 
1866
  #: tpl/banner/new_version.php:71 tpl/banner/new_version_dev.tpl.php:24
1867
- #: tpl/toolbox/beta_test.tpl.php:22
1868
  msgid "Upgrade"
1869
  msgstr ""
1870
 
@@ -1952,7 +1958,7 @@ msgid "TTL"
1952
  msgstr ""
1953
 
1954
  #: tpl/cache/entry.tpl.php:8 tpl/cache/entry_network.tpl.php:7
1955
- #: tpl/toolbox/entry.tpl.php:6 tpl/toolbox/purge.tpl.php:125
1956
  msgid "Purge"
1957
  msgstr ""
1958
 
@@ -2084,7 +2090,7 @@ msgstr ""
2084
 
2085
  #: tpl/cache/settings-cache.tpl.php:34
2086
  msgid ""
2087
- "With QUIC.cloud enabled, you may still be seeing cache headers from your "
2088
  "local server."
2089
  msgstr ""
2090
 
@@ -2132,14 +2138,6 @@ msgid ""
2132
  "no-cacheable settings."
2133
  msgstr ""
2134
 
2135
- #: tpl/cache/settings-cache.tpl.php:156
2136
- msgid "Ignore certain query strings when caching."
2137
- msgstr ""
2138
-
2139
- #: tpl/cache/settings-cache.tpl.php:157
2140
- msgid "For example, to drop parameters beginning with %s, %s can be used here."
2141
- msgstr ""
2142
-
2143
  #: tpl/cache/settings-esi.tpl.php:7
2144
  msgid "ESI Settings"
2145
  msgstr ""
@@ -2176,9 +2174,9 @@ msgid "ESI sample for developers"
2176
  msgstr ""
2177
 
2178
  #: tpl/cache/settings-esi.tpl.php:35 tpl/cdn/manage.tpl.php:21
2179
- #: tpl/crawler/summary.tpl.php:46 tpl/inc/check_cache_disabled.php:31
2180
  #: tpl/inc/check_if_network_disable_all.php:19 tpl/page_optm/entry.tpl.php:31
2181
- #: tpl/page_optm/settings_css.tpl.php:67
2182
  #: tpl/page_optm/settings_discussion.tpl.php:11
2183
  msgid "WARNING"
2184
  msgstr ""
@@ -2204,24 +2202,33 @@ msgstr ""
2204
  msgid "Cache the built-in Comment Form ESI block."
2205
  msgstr ""
2206
 
2207
- #: tpl/cache/settings-esi.tpl.php:88
 
 
 
 
 
 
 
 
 
2208
  msgid "The above nonces will be converted to ESI automatically."
2209
  msgstr ""
2210
 
2211
- #: tpl/cache/settings-esi.tpl.php:90
2212
  msgid ""
2213
  "An optional second parameter may be used to specify cache control. Use a "
2214
  "space to separate"
2215
  msgstr ""
2216
 
2217
- #: tpl/cache/settings-esi.tpl.php:93 tpl/cache/settings-purge.tpl.php:110
2218
  #: tpl/cdn/settings.tpl.php:189
2219
  msgid ""
2220
  "Wildcard %1$s supported (match zero or more characters). For example, to "
2221
  "match %2$s and %3$s, use %4$s."
2222
  msgstr ""
2223
 
2224
- #: tpl/cache/settings-esi.tpl.php:121
2225
  msgid ""
2226
  "If your site contains public content that certain user roles can see but "
2227
  "other roles cannot, you can specify a Vary Group for those user roles. For "
@@ -2447,7 +2454,7 @@ msgstr ""
2447
  #: tpl/cache/settings_inc.browser.tpl.php:29
2448
  msgid ""
2449
  "You can turn on browser caching in server admin too. <a %s>Learn more about "
2450
- "LiteSpeed browser cache setting</a>."
2451
  msgstr ""
2452
 
2453
  #: tpl/cache/settings_inc.browser.tpl.php:42
@@ -2456,6 +2463,14 @@ msgid ""
2456
  "before expiring."
2457
  msgstr ""
2458
 
 
 
 
 
 
 
 
 
2459
  #: tpl/cache/settings_inc.cache_favicon.tpl.php:14
2460
  msgid "favicon.ico is requested on most pages."
2461
  msgstr ""
@@ -2562,11 +2577,11 @@ msgid ""
2562
  "order to cache correctly."
2563
  msgstr ""
2564
 
2565
- #: tpl/cache/settings_inc.login_cookie.tpl.php:39
2566
  msgid "Invalid login cookie. Invalid characters found."
2567
  msgstr ""
2568
 
2569
- #: tpl/cache/settings_inc.login_cookie.tpl.php:53
2570
  msgid ""
2571
  "WARNING: The .htaccess login cookie and Database login cookie do not match."
2572
  msgstr ""
@@ -2599,8 +2614,8 @@ msgstr ""
2599
  msgid "Use object cache functionality."
2600
  msgstr ""
2601
 
2602
- #: tpl/cache/settings_inc.object.tpl.php:47 tpl/crawler/blacklist.tpl.php:29
2603
- #: tpl/crawler/summary.tpl.php:122
2604
  msgid "Status"
2605
  msgstr ""
2606
 
@@ -2751,7 +2766,7 @@ msgid ""
2751
  msgstr ""
2752
 
2753
  #: tpl/cdn/settings.tpl.php:66
2754
- msgid "Remove CDN url"
2755
  msgstr ""
2756
 
2757
  #: tpl/cdn/settings.tpl.php:74
@@ -2759,7 +2774,7 @@ msgid "CDN URL to be used. For example, %s"
2759
  msgstr ""
2760
 
2761
  #: tpl/cdn/settings.tpl.php:120
2762
- msgid "Add new CDN url"
2763
  msgstr ""
2764
 
2765
  #: tpl/cdn/settings.tpl.php:125
@@ -2886,37 +2901,37 @@ msgstr ""
2886
  msgid "Empty blacklist"
2887
  msgstr ""
2888
 
2889
- #: tpl/crawler/blacklist.tpl.php:20 tpl/crawler/entry.tpl.php:8
2890
  msgid "Blacklist"
2891
  msgstr ""
2892
 
2893
- #: tpl/crawler/blacklist.tpl.php:22 tpl/img_optm/summary.tpl.php:194
2894
  msgid "Total"
2895
  msgstr ""
2896
 
2897
- #: tpl/crawler/blacklist.tpl.php:28 tpl/crawler/map.tpl.php:40
2898
- #: tpl/toolbox/purge.tpl.php:205
2899
  msgid "URL"
2900
  msgstr ""
2901
 
2902
- #: tpl/crawler/blacklist.tpl.php:30 tpl/crawler/map.tpl.php:42
2903
  msgid "Operation"
2904
  msgstr ""
2905
 
2906
- #: tpl/crawler/blacklist.tpl.php:43
2907
  msgid "Remove from Blacklist"
2908
  msgstr ""
2909
 
2910
- #: tpl/crawler/blacklist.tpl.php:52
2911
  msgid "Not Blacklist"
2912
  msgstr ""
2913
 
2914
- #: tpl/crawler/blacklist.tpl.php:53 tpl/crawler/map.tpl.php:66
2915
  msgid "Blacklisted due to not cacheable"
2916
  msgstr ""
2917
 
2918
- #: tpl/crawler/blacklist.tpl.php:54 tpl/crawler/map.tpl.php:67
2919
- #: tpl/crawler/summary.tpl.php:157 tpl/crawler/summary.tpl.php:178
2920
  msgid "Blacklisted"
2921
  msgstr ""
2922
 
@@ -2958,27 +2973,27 @@ msgstr ""
2958
  msgid "Generated at %s"
2959
  msgstr ""
2960
 
2961
- #: tpl/crawler/map.tpl.php:32
2962
  msgid "Sitemap List"
2963
  msgstr ""
2964
 
2965
- #: tpl/crawler/map.tpl.php:34
2966
  msgid "Sitemap Total"
2967
  msgstr ""
2968
 
2969
- #: tpl/crawler/map.tpl.php:41 tpl/dash/dashboard.tpl.php:464
2970
  msgid "Crawler Status"
2971
  msgstr ""
2972
 
2973
- #: tpl/crawler/map.tpl.php:55
2974
  msgid "Add to Blacklist"
2975
  msgstr ""
2976
 
2977
- #: tpl/crawler/map.tpl.php:64 tpl/crawler/summary.tpl.php:176
2978
  msgid "Cache Hit"
2979
  msgstr ""
2980
 
2981
- #: tpl/crawler/map.tpl.php:65 tpl/crawler/summary.tpl.php:177
2982
  msgid "Cache Miss"
2983
  msgstr ""
2984
 
@@ -3207,122 +3222,122 @@ msgstr ""
3207
  msgid "Crawler Cron"
3208
  msgstr ""
3209
 
3210
- #: tpl/crawler/summary.tpl.php:47
3211
  msgid ""
3212
  "The crawler feature is not enabled on the LiteSpeed server. Please consult "
3213
  "your server admin."
3214
  msgstr ""
3215
 
3216
- #: tpl/crawler/summary.tpl.php:48
3217
  msgid ""
3218
  "See <a %s>Introduction for Enabling the Crawler</a> for detailed information."
3219
  msgstr ""
3220
 
3221
- #: tpl/crawler/summary.tpl.php:55
3222
  msgid "Current sitemap crawl started at"
3223
  msgstr ""
3224
 
3225
- #: tpl/crawler/summary.tpl.php:61
3226
  msgid "The next complete sitemap crawl will start at"
3227
  msgstr ""
3228
 
3229
- #: tpl/crawler/summary.tpl.php:69
3230
  msgid "Last complete run time for all crawlers"
3231
  msgstr ""
3232
 
3233
- #: tpl/crawler/summary.tpl.php:70 tpl/crawler/summary.tpl.php:77
3234
  msgid "%d seconds"
3235
  msgstr ""
3236
 
3237
- #: tpl/crawler/summary.tpl.php:76
3238
  msgid "Run time for previous crawler"
3239
  msgstr ""
3240
 
3241
- #: tpl/crawler/summary.tpl.php:83 tpl/dash/dashboard.tpl.php:476
3242
  msgid "Current crawler started at"
3243
  msgstr ""
3244
 
3245
- #: tpl/crawler/summary.tpl.php:90 tpl/dash/dashboard.tpl.php:483
3246
  msgid "Last interval"
3247
  msgstr ""
3248
 
3249
- #: tpl/crawler/summary.tpl.php:97 tpl/dash/dashboard.tpl.php:490
3250
  msgid "Ended reason"
3251
  msgstr ""
3252
 
3253
- #: tpl/crawler/summary.tpl.php:104 tpl/dash/dashboard.tpl.php:497
3254
  msgid "<b>Last crawled:</b> %s item(s)"
3255
  msgstr ""
3256
 
3257
- #: tpl/crawler/summary.tpl.php:109
3258
  msgid "Reset position"
3259
  msgstr ""
3260
 
3261
- #: tpl/crawler/summary.tpl.php:112
3262
  msgid "Manually run"
3263
  msgstr ""
3264
 
3265
- #: tpl/crawler/summary.tpl.php:120
3266
  msgid "Cron Name"
3267
  msgstr ""
3268
 
3269
- #: tpl/crawler/summary.tpl.php:121
3270
  msgid "Run Frequency"
3271
  msgstr ""
3272
 
3273
- #: tpl/crawler/summary.tpl.php:123
3274
  msgid "Running"
3275
  msgstr ""
3276
 
3277
- #: tpl/crawler/summary.tpl.php:154
3278
  msgid "Waiting"
3279
  msgstr ""
3280
 
3281
- #: tpl/crawler/summary.tpl.php:155
3282
  msgid "Hit"
3283
  msgstr ""
3284
 
3285
- #: tpl/crawler/summary.tpl.php:156
3286
  msgid "Miss"
3287
  msgstr ""
3288
 
3289
- #: tpl/crawler/summary.tpl.php:164
3290
  msgid "running"
3291
  msgstr ""
3292
 
3293
- #: tpl/crawler/summary.tpl.php:175
3294
  msgid "Waiting to be Crawled"
3295
  msgstr ""
3296
 
3297
- #: tpl/crawler/summary.tpl.php:182
3298
  msgid "Run frequency is set by the Interval Between Runs setting."
3299
  msgstr ""
3300
 
3301
- #: tpl/crawler/summary.tpl.php:183
3302
  msgid "Crawlers cannot run concurrently."
3303
  msgstr ""
3304
 
3305
- #: tpl/crawler/summary.tpl.php:184
3306
  msgid ""
3307
- "If both the cron and a manual run start at similar times, the first to be "
3308
- "started will take precedence."
3309
  msgstr ""
3310
 
3311
- #: tpl/crawler/summary.tpl.php:185
3312
  msgid ""
3313
  "Please see <a %s>Hooking WP-Cron Into the System Task Scheduler</a> to learn "
3314
  "how to create the system cron task."
3315
  msgstr ""
3316
 
3317
- #: tpl/crawler/summary.tpl.php:190
3318
  msgid "Watch Crawler Status"
3319
  msgstr ""
3320
 
3321
- #: tpl/crawler/summary.tpl.php:197
3322
  msgid "Show crawler status"
3323
  msgstr ""
3324
 
3325
- #: tpl/crawler/summary.tpl.php:215
3326
  msgid "No crawler meta file generated yet"
3327
  msgstr ""
3328
 
@@ -3388,7 +3403,7 @@ msgid "Current closest Cloud server is %s.&#10;Click to redetect."
3388
  msgstr ""
3389
 
3390
  #: tpl/dash/dashboard.tpl.php:202 tpl/img_optm/summary.tpl.php:51
3391
- #: tpl/page_optm/settings_css.tpl.php:121
3392
  #: tpl/page_optm/settings_media.tpl.php:172
3393
  msgid "Are you sure to redetect the closest cloud server for this service?"
3394
  msgstr ""
@@ -3434,7 +3449,7 @@ msgid "Cache Stats"
3434
  msgstr ""
3435
 
3436
  #: tpl/dash/dashboard.tpl.php:407 tpl/dash/dashboard.tpl.php:438
3437
- #: tpl/page_optm/settings_css.tpl.php:113
3438
  #: tpl/page_optm/settings_media.tpl.php:167
3439
  msgid "Last generated"
3440
  msgstr ""
@@ -3488,7 +3503,7 @@ msgid "DB Optimization Settings"
3488
  msgstr ""
3489
 
3490
  #: tpl/db_optm/entry.tpl.php:17
3491
- msgid "LiteSpeed Cache DataBase Optimization"
3492
  msgstr ""
3493
 
3494
  #: tpl/db_optm/manage.tpl.php:7
@@ -3579,43 +3594,43 @@ msgstr ""
3579
  msgid "Clean revisions older than %1$s day(s), excluding %2$s latest revisions"
3580
  msgstr ""
3581
 
3582
- #: tpl/db_optm/manage.tpl.php:77
3583
  msgid "Database Optimizer"
3584
  msgstr ""
3585
 
3586
- #: tpl/db_optm/manage.tpl.php:104
3587
  msgid "Database Table Engine Converter"
3588
  msgstr ""
3589
 
3590
- #: tpl/db_optm/manage.tpl.php:111
3591
  msgid "Table"
3592
  msgstr ""
3593
 
3594
- #: tpl/db_optm/manage.tpl.php:112
3595
  msgid "Engine"
3596
  msgstr ""
3597
 
3598
- #: tpl/db_optm/manage.tpl.php:113
3599
  msgid "Tool"
3600
  msgstr ""
3601
 
3602
- #: tpl/db_optm/manage.tpl.php:127
3603
  msgid "Convert to InnoDB"
3604
  msgstr ""
3605
 
3606
- #: tpl/db_optm/manage.tpl.php:135
3607
  msgid "We are good. No table uses MyISAM engine."
3608
  msgstr ""
3609
 
3610
- #: tpl/db_optm/manage.tpl.php:156
3611
  msgid "Database Summary"
3612
  msgstr ""
3613
 
3614
- #: tpl/db_optm/manage.tpl.php:171
3615
  msgid "Option Name"
3616
  msgstr ""
3617
 
3618
- #: tpl/db_optm/manage.tpl.php:172
3619
  msgid "Size"
3620
  msgstr ""
3621
 
@@ -3831,7 +3846,7 @@ msgstr ""
3831
  #: tpl/img_optm/settings.tpl.php:36
3832
  msgid ""
3833
  "Disabling this will stop the cron job responsible for pulling optimized "
3834
- "images back from Cloud Image Server."
3835
  msgstr ""
3836
 
3837
  #: tpl/img_optm/settings.tpl.php:49
@@ -3889,13 +3904,13 @@ msgstr ""
3889
  msgid "The image compression quality setting of WordPress out of 100."
3890
  msgstr ""
3891
 
3892
- #: tpl/img_optm/summary.tpl.php:51 tpl/page_optm/settings_css.tpl.php:121
3893
  #: tpl/page_optm/settings_media.tpl.php:172
3894
  msgid "Current closest Cloud server is %s.&#10; Click to redetect."
3895
  msgstr ""
3896
 
3897
  #: tpl/img_optm/summary.tpl.php:55
3898
- msgid "Optimize images with our cloud server"
3899
  msgstr ""
3900
 
3901
  #: tpl/img_optm/summary.tpl.php:60
@@ -3939,8 +3954,8 @@ msgstr ""
3939
 
3940
  #: tpl/img_optm/summary.tpl.php:111
3941
  msgid ""
3942
- "After LiteSpeed's Image Optimization Server finishes optimization, it will "
3943
- "notify your site to pull the optimized images."
3944
  msgstr ""
3945
 
3946
  #: tpl/img_optm/summary.tpl.php:112
@@ -3976,7 +3991,7 @@ msgid "Calculate Backups Disk Space"
3976
  msgstr ""
3977
 
3978
  #: tpl/img_optm/summary.tpl.php:216
3979
- msgid "Thumbnail Size Set"
3980
  msgstr ""
3981
 
3982
  #: tpl/img_optm/summary.tpl.php:227
@@ -4136,7 +4151,7 @@ msgid "Please enable LiteSpeed Cache in the plugin settings."
4136
  msgstr ""
4137
 
4138
  #: tpl/inc/check_cache_disabled.php:34
4139
- msgid "Caching functions on this page are currently unavailable!"
4140
  msgstr ""
4141
 
4142
  #: tpl/inc/check_if_network_disable_all.php:21
@@ -4159,14 +4174,15 @@ msgstr ""
4159
 
4160
  #: tpl/inc/help_tabs.php:11
4161
  msgid ""
4162
- "This plugin communicates with LiteSpeed Web Server to let it know which "
4163
- "pages are cacheable and when to purge them."
4164
  msgstr ""
4165
 
4166
  #: tpl/inc/help_tabs.php:12
4167
  msgid ""
4168
  "A LiteSpeed server (OLS, LSWS, WebADC) and its LSCache module must be "
4169
- "installed and enabled."
 
4170
  msgstr ""
4171
 
4172
  #: tpl/inc/help_tabs.php:23
@@ -4251,8 +4267,8 @@ msgstr ""
4251
  #: tpl/inc/show_rule_conflict.php:6
4252
  msgid ""
4253
  "Unexpected cache rule %2$s found in %1$s file. This rule may cause visitors "
4254
- "to see old versions of pages due to the browser caching html pages. If you "
4255
- "are sure that html pages are not being browser cached, this message can be "
4256
  "dismissed. (<a %3$s>Learn More</a>)"
4257
  msgstr ""
4258
 
@@ -4314,15 +4330,27 @@ msgstr ""
4314
 
4315
  #: tpl/page_optm/settings_css.tpl.php:52
4316
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
 
4317
  "Pre-send internal CSS files to the browser before they are requested. "
4318
  "(Requires the HTTP/2 protocol)"
4319
  msgstr ""
4320
 
4321
- #: tpl/page_optm/settings_css.tpl.php:71
4322
  msgid "Optimize CSS delivery."
4323
  msgstr ""
4324
 
4325
- #: tpl/page_optm/settings_css.tpl.php:72
4326
  #: tpl/page_optm/settings_html.tpl.php:107
4327
  #: tpl/page_optm/settings_html.tpl.php:121
4328
  #: tpl/page_optm/settings_html.tpl.php:171 tpl/page_optm/settings_js.tpl.php:62
@@ -4332,12 +4360,12 @@ msgid ""
4332
  "PageSpeed."
4333
  msgstr ""
4334
 
4335
- #: tpl/page_optm/settings_css.tpl.php:73
4336
  msgid ""
4337
  "When this option is turned %s, it will also load Google Fonts asynchronously."
4338
  msgstr ""
4339
 
4340
- #: tpl/page_optm/settings_css.tpl.php:76
4341
  #: tpl/page_optm/settings_media_exc.tpl.php:27
4342
  #: tpl/page_optm/settings_tuning.tpl.php:60
4343
  #: tpl/page_optm/settings_tuning.tpl.php:102
@@ -4345,79 +4373,79 @@ msgstr ""
4345
  msgid "Elements with attribute %s in html code will be excluded."
4346
  msgstr ""
4347
 
4348
- #: tpl/page_optm/settings_css.tpl.php:90
4349
  msgid ""
4350
  "Leave this option %1$s to allow communication with QUIC.cloud CCSS service. "
4351
  "If set to %2$s, Critical CSS will not be generated."
4352
  msgstr ""
4353
 
4354
- #: tpl/page_optm/settings_css.tpl.php:91
4355
  msgid "This option only works if %1$s is %2$s."
4356
  msgstr ""
4357
 
4358
- #: tpl/page_optm/settings_css.tpl.php:104
4359
  msgid ""
4360
  "Automatically generate critical CSS in the background via a cron-based queue."
4361
  msgstr ""
4362
 
4363
- #: tpl/page_optm/settings_css.tpl.php:105
4364
  #: tpl/page_optm/settings_media.tpl.php:159
4365
  msgid ""
4366
  "If set to %s this is done in the foreground, which may slow down page load."
4367
  msgstr ""
4368
 
4369
- #: tpl/page_optm/settings_css.tpl.php:116
4370
  msgid "Last requested cost"
4371
  msgstr ""
4372
 
4373
- #: tpl/page_optm/settings_css.tpl.php:126
4374
  msgid "URL list in queue waiting for cron"
4375
  msgstr ""
4376
 
4377
- #: tpl/page_optm/settings_css.tpl.php:137
4378
  #: tpl/page_optm/settings_discussion.tpl.php:62
4379
  #: tpl/page_optm/settings_media.tpl.php:183
4380
  msgid "Run Queue Manually"
4381
  msgstr ""
4382
 
4383
- #: tpl/page_optm/settings_css.tpl.php:153
4384
  msgid ""
4385
  "List post types where each item of that type should have its own CCSS "
4386
  "generated."
4387
  msgstr ""
4388
 
4389
- #: tpl/page_optm/settings_css.tpl.php:154
4390
  msgid ""
4391
  "For example, if every Page on the site has different formatting, enter %s in "
4392
  "the box. Separate critical CSS files will be stored for every Page on the "
4393
  "site."
4394
  msgstr ""
4395
 
4396
- #: tpl/page_optm/settings_css.tpl.php:168
4397
  msgid ""
4398
  "Separate critical CSS files will be generated for paths containing these "
4399
  "strings."
4400
  msgstr ""
4401
 
4402
- #: tpl/page_optm/settings_css.tpl.php:182
4403
  msgid "This will inline the asynchronous CSS library to avoid render blocking."
4404
  msgstr ""
4405
 
4406
- #: tpl/page_optm/settings_css.tpl.php:193 tpl/page_optm/settings_js.tpl.php:73
4407
  msgid "Default"
4408
  msgstr ""
4409
 
4410
- #: tpl/page_optm/settings_css.tpl.php:195
4411
  msgid ""
4412
  "Set this to append %1$s to all %2$s rules before caching CSS to specify how "
4413
  "fonts should be displayed while being downloaded."
4414
  msgstr ""
4415
 
4416
- #: tpl/page_optm/settings_css.tpl.php:196 tpl/page_optm/settings_js.tpl.php:77
4417
  msgid "%s is recommended."
4418
  msgstr ""
4419
 
4420
- #: tpl/page_optm/settings_css.tpl.php:196
4421
  msgid "Swap"
4422
  msgstr ""
4423
 
@@ -4465,7 +4493,7 @@ msgid "Minify inline JS code."
4465
  msgstr ""
4466
 
4467
  #: tpl/page_optm/settings_html.tpl.php:75
4468
- msgid "Prefetching DNS can reduce latency for visiters."
4469
  msgstr ""
4470
 
4471
  #: tpl/page_optm/settings_html.tpl.php:76
@@ -4500,8 +4528,8 @@ msgstr ""
4500
 
4501
  #: tpl/page_optm/settings_html.tpl.php:142
4502
  msgid ""
4503
- "Use Web Font Loader library to load Google Fonts asynchronously while leave "
4504
- "other CSS intact."
4505
  msgstr ""
4506
 
4507
  #: tpl/page_optm/settings_html.tpl.php:143
@@ -4516,7 +4544,7 @@ msgstr ""
4516
 
4517
  #: tpl/page_optm/settings_html.tpl.php:170
4518
  msgid ""
4519
- "Stop loading wordpress.org emoji. Browser default emoji will be displayed "
4520
  "instead."
4521
  msgstr ""
4522
 
@@ -4542,27 +4570,29 @@ msgstr ""
4542
  msgid "After DOM Ready"
4543
  msgstr ""
4544
 
4545
- #: tpl/page_optm/settings_js.tpl.php:73 tpl/page_optm/settings_js.tpl.php:77
4546
  msgid "Deferred"
4547
  msgstr ""
4548
 
4549
  #: tpl/page_optm/settings_js.tpl.php:75
4550
- msgid "Load inline JS after DOM is fully loaded."
 
 
4551
  msgstr ""
4552
 
4553
  #: tpl/page_optm/settings_js.tpl.php:76
4554
  msgid ""
4555
- "This can increase JS compatibility and reduce JS error when the previous JS "
4556
- "optimization features are enabled."
4557
  msgstr ""
4558
 
4559
- #: tpl/page_optm/settings_js.tpl.php:90
4560
  msgid ""
4561
  "Improve compatibility with inline JS by preventing jQuery optimization. "
4562
  "(Recommended Setting: %s)"
4563
  msgstr ""
4564
 
4565
- #: tpl/page_optm/settings_js.tpl.php:93
4566
  msgid ""
4567
  "If there is any JS error related to %1$s when enabled %2$s, please turn on "
4568
  "this option."
@@ -4682,7 +4712,7 @@ msgid "Load iframes only when they enter the viewport."
4682
  msgstr ""
4683
 
4684
  #: tpl/page_optm/settings_media.tpl.php:213
4685
- msgid "Include the lazy load image Javascript library inline."
4686
  msgstr ""
4687
 
4688
  #: tpl/page_optm/settings_media_exc.tpl.php:21
@@ -4803,38 +4833,37 @@ msgstr ""
4803
  msgid "Selected roles will be excluded from all optimizations."
4804
  msgstr ""
4805
 
4806
- #: tpl/toolbox/beta_test.tpl.php:8
4807
  msgid "Try GitHub Version"
4808
  msgstr ""
4809
 
4810
- #: tpl/toolbox/beta_test.tpl.php:10
4811
  msgid ""
4812
  "Use this section to switch plugin versions. To beta test a GitHub commit, "
4813
  "enter the commit URL in the field below."
4814
  msgstr ""
4815
 
4816
- #: tpl/toolbox/beta_test.tpl.php:11
4817
  msgid "Example"
4818
  msgstr ""
4819
 
4820
- #: tpl/toolbox/beta_test.tpl.php:15 tpl/toolbox/beta_test.tpl.php:19
4821
  msgid "Use latest GitHub commit"
4822
  msgstr ""
4823
 
4824
- #: tpl/toolbox/beta_test.tpl.php:15 tpl/toolbox/beta_test.tpl.php:17
4825
  msgid "OR"
4826
  msgstr ""
4827
 
4828
- #: tpl/toolbox/beta_test.tpl.php:17 tpl/toolbox/beta_test.tpl.php:20
4829
  msgid "Use latest WordPress release version"
4830
  msgstr ""
4831
 
4832
- #: tpl/toolbox/beta_test.tpl.php:19
4833
- msgid ""
4834
- "Press the %s button to populate the field with the most recent GitHub commit."
4835
  msgstr ""
4836
 
4837
- #: tpl/toolbox/beta_test.tpl.php:20
4838
  msgid ""
4839
  "Press the %s button to stop beta testing and go back to the current release "
4840
  "from the WordPress Plugin Directory."
@@ -4844,19 +4873,19 @@ msgstr ""
4844
  msgid "LiteSpeed Cache Edit .htaccess"
4845
  msgstr ""
4846
 
4847
- #: tpl/toolbox/edit_htaccess.tpl.php:43
4848
  msgid "This page is meant for advanced users."
4849
  msgstr ""
4850
 
4851
- #: tpl/toolbox/edit_htaccess.tpl.php:45
4852
  msgid "Any changes made to the .htaccess file may break the site."
4853
  msgstr ""
4854
 
4855
- #: tpl/toolbox/edit_htaccess.tpl.php:46
4856
  msgid "Please consult the host/server admin before making any changes."
4857
  msgstr ""
4858
 
4859
- #: tpl/toolbox/edit_htaccess.tpl.php:53
4860
  msgid ".htaccess Path Settings"
4861
  msgstr ""
4862
 
@@ -4963,58 +4992,58 @@ msgstr ""
4963
  msgid "Turn ON to control heartbeat in backend editor."
4964
  msgstr ""
4965
 
4966
- #: tpl/toolbox/import_export.tpl.php:8
4967
  msgid "Export Settings"
4968
  msgstr ""
4969
 
4970
- #: tpl/toolbox/import_export.tpl.php:11
4971
  msgid "Export"
4972
  msgstr ""
4973
 
4974
- #: tpl/toolbox/import_export.tpl.php:16
4975
  msgid "Last exported"
4976
  msgstr ""
4977
 
4978
- #: tpl/toolbox/import_export.tpl.php:21
4979
  msgid ""
4980
  "This will export all current LiteSpeed Cache settings and save as a file."
4981
  msgstr ""
4982
 
4983
- #: tpl/toolbox/import_export.tpl.php:24
4984
  msgid "Import Settings"
4985
  msgstr ""
4986
 
4987
- #: tpl/toolbox/import_export.tpl.php:32
4988
  msgid "Import"
4989
  msgstr ""
4990
 
4991
- #: tpl/toolbox/import_export.tpl.php:38
4992
  msgid "Last imported"
4993
  msgstr ""
4994
 
4995
- #: tpl/toolbox/import_export.tpl.php:43
4996
  msgid ""
4997
  "This will import settings from a file and override all current LiteSpeed "
4998
  "Cache settings."
4999
  msgstr ""
5000
 
5001
- #: tpl/toolbox/import_export.tpl.php:46
5002
  msgid "Reset All Settings"
5003
  msgstr ""
5004
 
5005
- #: tpl/toolbox/import_export.tpl.php:47
5006
  msgid "This will reset all settings to default settings."
5007
  msgstr ""
5008
 
5009
- #: tpl/toolbox/import_export.tpl.php:49
5010
  msgid "Are you sure to reset all settings to default settings?"
5011
  msgstr ""
5012
 
5013
- #: tpl/toolbox/import_export.tpl.php:50
5014
  msgid "Reset Settings"
5015
  msgstr ""
5016
 
5017
- #: tpl/toolbox/log_viewer.tpl.php:10 tpl/toolbox/log_viewer.tpl.php:27
5018
  msgid "Clear Log"
5019
  msgstr ""
5020
 
@@ -5053,7 +5082,7 @@ msgid "Purge error pages, including 500 pages"
5053
  msgstr ""
5054
 
5055
  #: tpl/toolbox/purge.tpl.php:40
5056
- msgid "Purge the litespeed cache entries created by this plugin"
5057
  msgstr ""
5058
 
5059
  #: tpl/toolbox/purge.tpl.php:46
@@ -5077,11 +5106,13 @@ msgid "This will delete all generated image LQIP placeholder files"
5077
  msgstr ""
5078
 
5079
  #: tpl/toolbox/purge.tpl.php:91
5080
- msgid "This will delete all cached gravatar files"
5081
  msgstr ""
5082
 
5083
  #: tpl/toolbox/purge.tpl.php:100
5084
- msgid "Purge the cache entries created by this plugin"
 
 
5085
  msgstr ""
5086
 
5087
  #: tpl/toolbox/purge.tpl.php:109
@@ -5110,48 +5141,48 @@ msgstr ""
5110
  msgid "If only the WordPress site should be purged, use purge all."
5111
  msgstr ""
5112
 
5113
- #: tpl/toolbox/purge.tpl.php:158
5114
  msgid "Purge By..."
5115
  msgstr ""
5116
 
5117
- #: tpl/toolbox/purge.tpl.php:160
5118
  msgid "Select below for \"Purge by\" options."
5119
  msgstr ""
5120
 
5121
- #: tpl/toolbox/purge.tpl.php:187
5122
  msgid "Category"
5123
  msgstr ""
5124
 
5125
- #: tpl/toolbox/purge.tpl.php:193
5126
  msgid "Post ID"
5127
  msgstr ""
5128
 
5129
- #: tpl/toolbox/purge.tpl.php:199
5130
  msgid "Tag"
5131
  msgstr ""
5132
 
5133
- #: tpl/toolbox/purge.tpl.php:211
5134
  msgid ""
5135
  "Purge pages by category name - e.g. %2$s should be used for the URL %1$s."
5136
  msgstr ""
5137
 
5138
- #: tpl/toolbox/purge.tpl.php:216
5139
  msgid "Purge pages by post ID."
5140
  msgstr ""
5141
 
5142
- #: tpl/toolbox/purge.tpl.php:220
5143
  msgid "Purge pages by tag name - e.g. %2$s should be used for the URL %1$s."
5144
  msgstr ""
5145
 
5146
- #: tpl/toolbox/purge.tpl.php:225
5147
  msgid "Purge pages by relative or full URL."
5148
  msgstr ""
5149
 
5150
- #: tpl/toolbox/purge.tpl.php:226
5151
  msgid "e.g. Use %s or %s."
5152
  msgstr ""
5153
 
5154
- #: tpl/toolbox/purge.tpl.php:239
5155
  msgid "Purge List"
5156
  msgstr ""
5157
 
@@ -5169,74 +5200,74 @@ msgstr ""
5169
  msgid "Go to plugins list"
5170
  msgstr ""
5171
 
5172
- #: tpl/toolbox/report.tpl.php:40
5173
- msgid "LiteSpeed Report Number"
5174
  msgstr ""
5175
 
5176
- #: tpl/toolbox/report.tpl.php:42
5177
  msgid "Report number"
5178
  msgstr ""
5179
 
5180
- #: tpl/toolbox/report.tpl.php:43
5181
  msgid "Report date"
5182
  msgstr ""
5183
 
5184
- #: tpl/toolbox/report.tpl.php:46
5185
  msgid ""
5186
  "The environment report contains detailed information about the WordPress "
5187
  "configuration."
5188
  msgstr ""
5189
 
5190
- #: tpl/toolbox/report.tpl.php:48
5191
  msgid ""
5192
  "If you run into any issues, please refer to the report number in your "
5193
  "support message."
5194
  msgstr ""
5195
 
5196
- #: tpl/toolbox/report.tpl.php:54
5197
  msgid "System Information"
5198
  msgstr ""
5199
 
5200
- #: tpl/toolbox/report.tpl.php:60
5201
  msgid "Passwordless Link"
5202
  msgstr ""
5203
 
5204
- #: tpl/toolbox/report.tpl.php:64 tpl/toolbox/report.tpl.php:66
5205
  msgid "Generate Link for Current User"
5206
  msgstr ""
5207
 
5208
- #: tpl/toolbox/report.tpl.php:69
5209
  msgid ""
5210
  "To grant wp-admin access to the LiteSpeed Support Team, please generate a "
5211
  "passwordless link for the current logged-in user to be sent with the report."
5212
  msgstr ""
5213
 
5214
- #: tpl/toolbox/report.tpl.php:71
5215
  msgid "Please do NOT share the above passwordless link with anyone."
5216
  msgstr ""
5217
 
5218
- #: tpl/toolbox/report.tpl.php:72
5219
  msgid "Generated links may be managed under <a %s>Settings</a>."
5220
  msgstr ""
5221
 
5222
- #: tpl/toolbox/report.tpl.php:78
5223
  msgid "Notes"
5224
  msgstr ""
5225
 
5226
- #: tpl/toolbox/report.tpl.php:82
5227
  msgid "Optional"
5228
  msgstr ""
5229
 
5230
- #: tpl/toolbox/report.tpl.php:83
5231
  msgid ""
5232
  "provide more information here to assist the LiteSpeed team with debugging."
5233
  msgstr ""
5234
 
5235
- #: tpl/toolbox/report.tpl.php:90 tpl/toolbox/report.tpl.php:91
5236
  msgid "Send to LiteSpeed"
5237
  msgstr ""
5238
 
5239
- #: tpl/toolbox/report.tpl.php:94
5240
  msgid ""
5241
  "Send this report to LiteSpeed. Refer to this report number when posting in "
5242
  "the WordPress support forum."
2
  # This file is distributed under the same license as the LiteSpeed Cache package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: LiteSpeed Cache 3.2.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/litespeed-cache\n"
7
+ "POT-Creation-Date: 2020-06-18 16:41:21+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
66
  msgid "Database"
67
  msgstr ""
68
 
69
+ #: src/admin-display.cls.php:168 src/lang.cls.php:210
70
  msgid "Crawler"
71
  msgstr ""
72
 
74
  msgid "Toolbox"
75
  msgstr ""
76
 
77
+ #: src/admin-display.cls.php:259 src/gui.cls.php:602
78
  msgid "Settings"
79
  msgstr ""
80
 
81
+ #: src/admin-display.cls.php:279
82
  msgid ""
83
  "It is recommended that LiteSpeed Cache be purged after updating a plugin."
84
  msgstr ""
85
 
86
+ #: src/admin-display.cls.php:674
87
  msgid "Save Changes"
88
  msgstr ""
89
 
90
+ #: src/admin-display.cls.php:795 src/admin-display.cls.php:831
91
+ #: src/admin-display.cls.php:883 tpl/cache/settings-cache.tpl.php:19
92
  #: tpl/cache/settings_inc.cache_mobile.tpl.php:70 tpl/cdn/settings.tpl.php:49
93
+ #: tpl/page_optm/settings_css.tpl.php:54 tpl/page_optm/settings_css.tpl.php:92
94
+ #: tpl/page_optm/settings_css.tpl.php:109
95
+ #: tpl/page_optm/settings_css.tpl.php:110 tpl/page_optm/settings_js.tpl.php:89
96
  #: tpl/page_optm/settings_media.tpl.php:156
97
  #: tpl/page_optm/settings_tuning.tpl.php:36
98
  #: tpl/page_optm/settings_tuning.tpl.php:78
100
  msgid "ON"
101
  msgstr ""
102
 
103
+ #: src/admin-display.cls.php:796 src/admin-display.cls.php:830
104
+ #: src/admin-display.cls.php:883 tpl/cache/settings-cache.tpl.php:19
105
  #: tpl/cache/settings_inc.object.tpl.php:210 tpl/cdn/settings.tpl.php:49
106
+ #: tpl/cdn/settings.tpl.php:237 tpl/page_optm/settings_css.tpl.php:109
107
+ #: tpl/page_optm/settings_css.tpl.php:124
108
  #: tpl/page_optm/settings_media.tpl.php:159
109
  #: tpl/page_optm/settings_tuning.tpl.php:33
110
  #: tpl/page_optm/settings_tuning.tpl.php:75
112
  msgid "OFF"
113
  msgstr ""
114
 
115
+ #: src/admin-display.cls.php:895
116
  msgid "This setting is overwritten by the PHP constant %s"
117
  msgstr ""
118
 
119
+ #: src/admin-display.cls.php:897
120
  msgid "This setting is overwritten by the primary site setting"
121
  msgstr ""
122
 
123
+ #: src/admin-display.cls.php:900
124
  msgid "currently set to %s"
125
  msgstr ""
126
 
127
+ #: src/admin-display.cls.php:911 tpl/cache/settings_inc.object.tpl.php:103
128
  #: tpl/crawler/settings-general.tpl.php:60
129
  #: tpl/crawler/settings-general.tpl.php:74
130
  #: tpl/crawler/settings-general.tpl.php:89 tpl/esi_widget_edit.php:70
131
  msgid "seconds"
132
  msgstr ""
133
 
134
+ #: src/admin-display.cls.php:934 src/admin-display.cls.php:939
135
  msgid "Recommended value"
136
  msgstr ""
137
 
138
+ #: src/admin-display.cls.php:964
139
  msgid "Invalid rewrite rule"
140
  msgstr ""
141
 
142
+ #: src/admin-display.cls.php:982
143
  msgid "Path must end with %s"
144
  msgstr ""
145
 
146
+ #: src/admin-display.cls.php:1001
147
  msgid "Minimum value"
148
  msgstr ""
149
 
150
+ #: src/admin-display.cls.php:1004
151
  msgid "Maximum value"
152
  msgstr ""
153
 
154
+ #: src/admin-display.cls.php:1016
155
  msgid "Zero, or"
156
  msgstr ""
157
 
158
+ #: src/admin-display.cls.php:1023
159
  msgid "Larger than"
160
  msgstr ""
161
 
162
+ #: src/admin-display.cls.php:1026
163
  msgid "Smaller than"
164
  msgstr ""
165
 
166
+ #: src/admin-display.cls.php:1029
167
  msgid "Value range"
168
  msgstr ""
169
 
170
+ #: src/admin-display.cls.php:1055
171
  msgid "Invalid IP"
172
  msgstr ""
173
 
174
+ #: src/admin-display.cls.php:1076 tpl/page_optm/settings_css.tpl.php:94
175
  #: tpl/page_optm/settings_html.tpl.php:127
176
  #: tpl/page_optm/settings_media_exc.tpl.php:25
177
  #: tpl/page_optm/settings_tuning.tpl.php:39
182
  msgid "API"
183
  msgstr ""
184
 
185
+ #: src/admin-display.cls.php:1077
186
  msgid "Server variable(s) %s available to override this setting."
187
  msgstr ""
188
 
189
+ #: src/admin-display.cls.php:1095 src/doc.cls.php:38 src/doc.cls.php:62
190
+ #: tpl/cdn/manage.tpl.php:66 tpl/dash/dashboard.tpl.php:46
191
+ #: tpl/img_optm/summary.tpl.php:56 tpl/img_optm/summary.tpl.php:96
192
+ #: tpl/inc/check_cache_disabled.php:42
193
  msgid "Learn More"
194
  msgstr ""
195
 
196
+ #: src/admin-display.cls.php:1111
197
  msgid "The URLs will be compared to the REQUEST_URI server variable."
198
  msgstr ""
199
 
200
+ #: src/admin-display.cls.php:1112
201
  msgid "For example, for %s, %s can be used here."
202
  msgstr ""
203
 
204
+ #: src/admin-display.cls.php:1114
205
  msgid "To match the beginning, add %s to the beginning of the item."
206
  msgstr ""
207
 
208
+ #: src/admin-display.cls.php:1115
209
  msgid "To do an exact match, add %s to the end of the URL."
210
  msgstr ""
211
 
212
+ #: src/admin-display.cls.php:1116 src/doc.cls.php:49
213
  msgid "One per line."
214
  msgstr ""
215
 
216
+ #: src/admin-display.cls.php:1131
217
  msgid "%s groups"
218
  msgstr ""
219
 
220
+ #: src/admin-display.cls.php:1134
221
  msgid "%s images"
222
  msgstr ""
223
 
224
+ #: src/admin-display.cls.php:1144
225
  msgid "%s group"
226
  msgstr ""
227
 
228
+ #: src/admin-display.cls.php:1147
229
  msgid "%s image"
230
  msgstr ""
231
 
316
  msgid "Domain key hash mismatch"
317
  msgstr ""
318
 
319
+ #: src/cloud.cls.php:1077
320
  msgid "Sync credit allowance with Cloud Server successfully."
321
  msgstr ""
322
 
323
+ #: src/conf.cls.php:727
324
  msgid "Changed setting successfully."
325
  msgstr ""
326
 
421
  msgid "This setting will edit the .htaccess file."
422
  msgstr ""
423
 
424
+ #: src/doc.cls.php:75
425
  msgid ""
426
  "For online services to work correctly, you must whitelist all online server "
427
  "IPs."
428
  msgstr ""
429
 
430
+ #: src/doc.cls.php:76
431
  msgid ""
432
  "Before generating key, please verify all IPs on this list are whitelisted"
433
  msgstr ""
434
 
435
+ #: src/doc.cls.php:77 tpl/general/settings.tpl.php:89
436
  msgid "Current Online Server IPs"
437
  msgstr ""
438
 
663
  msgid "LQIP Cache"
664
  msgstr ""
665
 
666
+ #: src/gui.cls.php:553 src/gui.cls.php:695 src/lang.cls.php:142
667
  #: tpl/toolbox/purge.tpl.php:90
668
  msgid "Gravatar Cache"
669
  msgstr ""
1074
  msgstr ""
1075
 
1076
  #: src/lang.cls.php:106
1077
+ msgid "Unique CSS"
1078
  msgstr ""
1079
 
1080
  #: src/lang.cls.php:107
1081
+ msgid "CSS HTTP/2 Push"
1082
+ msgstr ""
1083
+
1084
+ #: src/lang.cls.php:108
1085
  msgid "JS Minify"
1086
  msgstr ""
1087
 
1088
+ #: src/lang.cls.php:109 tpl/page_optm/settings_js.tpl.php:92
1089
  msgid "JS Combine"
1090
  msgstr ""
1091
 
1092
+ #: src/lang.cls.php:110
1093
  msgid "JS HTTP/2 Push"
1094
  msgstr ""
1095
 
1096
+ #: src/lang.cls.php:111
1097
  msgid "CSS/JS Cache TTL"
1098
  msgstr ""
1099
 
1100
+ #: src/lang.cls.php:112
1101
  msgid "HTML Minify"
1102
  msgstr ""
1103
 
1104
+ #: src/lang.cls.php:113
1105
  msgid "Inline CSS Minify"
1106
  msgstr ""
1107
 
1108
+ #: src/lang.cls.php:114
1109
  msgid "Inline JS Minify"
1110
  msgstr ""
1111
 
1112
+ #: src/lang.cls.php:115 tpl/page_optm/settings_css.tpl.php:110
1113
  #: tpl/page_optm/settings_tuning.tpl.php:131
1114
  msgid "Load CSS Asynchronously"
1115
  msgstr ""
1116
 
1117
+ #: src/lang.cls.php:116
1118
  msgid "Generate Critical CSS"
1119
  msgstr ""
1120
 
1121
+ #: src/lang.cls.php:117
1122
  msgid "Generate Critical CSS In Background"
1123
  msgstr ""
1124
 
1125
+ #: src/lang.cls.php:118
1126
  msgid "Separate CCSS Cache Post Types"
1127
  msgstr ""
1128
 
1129
+ #: src/lang.cls.php:119
1130
  msgid "Separate CCSS Cache URIs"
1131
  msgstr ""
1132
 
1133
+ #: src/lang.cls.php:120
1134
  msgid "Inline CSS Async Lib"
1135
  msgstr ""
1136
 
1137
+ #: src/lang.cls.php:121
1138
  msgid "Font Display Optimization"
1139
  msgstr ""
1140
 
1141
+ #: src/lang.cls.php:122
1142
  msgid "Load JS Deferred"
1143
  msgstr ""
1144
 
1145
+ #: src/lang.cls.php:123
1146
  msgid "Load Inline JS"
1147
  msgstr ""
1148
 
1149
+ #: src/lang.cls.php:124
1150
  msgid "Exclude JQuery"
1151
  msgstr ""
1152
 
1153
+ #: src/lang.cls.php:125
1154
  msgid "DNS Prefetch"
1155
  msgstr ""
1156
 
1157
+ #: src/lang.cls.php:126
1158
  msgid "DNS Prefetch Control"
1159
  msgstr ""
1160
 
1161
+ #: src/lang.cls.php:127
1162
  msgid "Remove Comments"
1163
  msgstr ""
1164
 
1165
+ #: src/lang.cls.php:128
1166
  msgid "Combined CSS Priority"
1167
  msgstr ""
1168
 
1169
+ #: src/lang.cls.php:129
1170
  msgid "CSS Excludes"
1171
  msgstr ""
1172
 
1173
+ #: src/lang.cls.php:130
1174
  msgid "Combined JS Priority"
1175
  msgstr ""
1176
 
1177
+ #: src/lang.cls.php:131
1178
  msgid "JS Excludes"
1179
  msgstr ""
1180
 
1181
+ #: src/lang.cls.php:132
1182
  msgid "Max Combined File Size"
1183
  msgstr ""
1184
 
1185
+ #: src/lang.cls.php:133
1186
  msgid "Remove Query Strings"
1187
  msgstr ""
1188
 
1189
+ #: src/lang.cls.php:134
1190
  msgid "Load Google Fonts Asynchronously"
1191
  msgstr ""
1192
 
1193
+ #: src/lang.cls.php:135
1194
  msgid "Remove Google Fonts"
1195
  msgstr ""
1196
 
1197
+ #: src/lang.cls.php:136
1198
  msgid "Critical CSS Rules"
1199
  msgstr ""
1200
 
1201
+ #: src/lang.cls.php:137
1202
  msgid "JS Deferred Excludes"
1203
  msgstr ""
1204
 
1205
+ #: src/lang.cls.php:138
1206
  msgid "Remove WordPress Emoji"
1207
  msgstr ""
1208
 
1209
+ #: src/lang.cls.php:139
1210
  msgid "URI Excludes"
1211
  msgstr ""
1212
 
1213
+ #: src/lang.cls.php:140
1214
  msgid "Role Excludes"
1215
  msgstr ""
1216
 
1217
+ #: src/lang.cls.php:143
1218
  msgid "Gravatar Cache Cron"
1219
  msgstr ""
1220
 
1221
+ #: src/lang.cls.php:144
1222
  msgid "Gravatar Cache TTL"
1223
  msgstr ""
1224
 
1225
+ #: src/lang.cls.php:146
1226
  msgid "Lazy Load Images"
1227
  msgstr ""
1228
 
1229
+ #: src/lang.cls.php:147
1230
  msgid "Lazy Load Image Excludes"
1231
  msgstr ""
1232
 
1233
+ #: src/lang.cls.php:148
1234
  msgid "Lazy Load Image Class Name Excludes"
1235
  msgstr ""
1236
 
1237
+ #: src/lang.cls.php:149
1238
  msgid "Lazy Load Image Parent Class Name Excludes"
1239
  msgstr ""
1240
 
1241
+ #: src/lang.cls.php:150
1242
  msgid "Lazy Load Iframe Class Name Excludes"
1243
  msgstr ""
1244
 
1245
+ #: src/lang.cls.php:151
1246
  msgid "Lazy Load Iframe Parent Class Name Excludes"
1247
  msgstr ""
1248
 
1249
+ #: src/lang.cls.php:152
1250
  msgid "Lazy Load URI Excludes"
1251
  msgstr ""
1252
 
1253
+ #: src/lang.cls.php:153
1254
  msgid "Basic Image Placeholder"
1255
  msgstr ""
1256
 
1257
+ #: src/lang.cls.php:154
1258
  msgid "Responsive Placeholder"
1259
  msgstr ""
1260
 
1261
+ #: src/lang.cls.php:155
1262
  msgid "Responsive Placeholder Color"
1263
  msgstr ""
1264
 
1265
+ #: src/lang.cls.php:156
1266
  msgid "Responsive Placeholder SVG"
1267
  msgstr ""
1268
 
1269
+ #: src/lang.cls.php:157
1270
  msgid "LQIP Cloud Generator"
1271
  msgstr ""
1272
 
1273
+ #: src/lang.cls.php:158
1274
  msgid "LQIP Quality"
1275
  msgstr ""
1276
 
1277
+ #: src/lang.cls.php:159
1278
  msgid "LQIP Minimum Dimensions"
1279
  msgstr ""
1280
 
1281
+ #: src/lang.cls.php:161
1282
  msgid "Generate LQIP In Background"
1283
  msgstr ""
1284
 
1285
+ #: src/lang.cls.php:162
1286
  msgid "Lazy Load Iframes"
1287
  msgstr ""
1288
 
1289
+ #: src/lang.cls.php:163
1290
  msgid "Inline Lazy Load Images Library"
1291
  msgstr ""
1292
 
1293
+ #: src/lang.cls.php:164
1294
  msgid "Auto Request Cron"
1295
  msgstr ""
1296
 
1297
+ #: src/lang.cls.php:165
1298
  msgid "Auto Pull Cron"
1299
  msgstr ""
1300
 
1301
+ #: src/lang.cls.php:166
1302
  msgid "Optimize Original Images"
1303
  msgstr ""
1304
 
1305
+ #: src/lang.cls.php:167
1306
  msgid "Remove Original Backups"
1307
  msgstr ""
1308
 
1309
+ #: src/lang.cls.php:168
1310
  msgid "Create WebP Versions"
1311
  msgstr ""
1312
 
1313
+ #: src/lang.cls.php:169
1314
  msgid "Optimize Losslessly"
1315
  msgstr ""
1316
 
1317
+ #: src/lang.cls.php:170
1318
  msgid "Preserve EXIF/XMP data"
1319
  msgstr ""
1320
 
1321
+ #: src/lang.cls.php:171
1322
  msgid "WebP Attribute To Replace"
1323
  msgstr ""
1324
 
1325
+ #: src/lang.cls.php:172
1326
  msgid "WebP For Extra srcset"
1327
  msgstr ""
1328
 
1329
+ #: src/lang.cls.php:173
1330
  msgid "WordPress Image Quality Control"
1331
  msgstr ""
1332
 
1333
+ #: src/lang.cls.php:174 tpl/esi_widget_edit.php:36
1334
  msgid "Enable ESI"
1335
  msgstr ""
1336
 
1337
+ #: src/lang.cls.php:175
1338
  msgid "Cache Admin Bar"
1339
  msgstr ""
1340
 
1341
+ #: src/lang.cls.php:176
1342
  msgid "Cache Comment Form"
1343
  msgstr ""
1344
 
1345
+ #: src/lang.cls.php:177
1346
  msgid "ESI Nonce"
1347
  msgstr ""
1348
 
1349
+ #: src/lang.cls.php:178
1350
  msgid "Vary Group"
1351
  msgstr ""
1352
 
1353
+ #: src/lang.cls.php:179
1354
  msgid "Purge All Hooks"
1355
  msgstr ""
1356
 
1357
+ #: src/lang.cls.php:180
1358
  msgid "Improve HTTP/HTTPS Compatibility"
1359
  msgstr ""
1360
 
1361
+ #: src/lang.cls.php:181
1362
  msgid "Instant Click"
1363
  msgstr ""
1364
 
1365
+ #: src/lang.cls.php:182
1366
  msgid "Do Not Cache Cookies"
1367
  msgstr ""
1368
 
1369
+ #: src/lang.cls.php:183
1370
  msgid "Do Not Cache User Agents"
1371
  msgstr ""
1372
 
1373
+ #: src/lang.cls.php:184
1374
  msgid "Login Cookie"
1375
  msgstr ""
1376
 
1377
+ #: src/lang.cls.php:185
1378
  msgid "Image WebP Replacement"
1379
  msgstr ""
1380
 
1381
+ #: src/lang.cls.php:187
1382
  msgid "Frontend .htaccess Path"
1383
  msgstr ""
1384
 
1385
+ #: src/lang.cls.php:188
1386
  msgid "Backend .htaccess Path"
1387
  msgstr ""
1388
 
1389
+ #: src/lang.cls.php:189
1390
  msgid "Frontend Heartbeat Control"
1391
  msgstr ""
1392
 
1393
+ #: src/lang.cls.php:190
1394
  msgid "Frontend Heartbeat TTL"
1395
  msgstr ""
1396
 
1397
+ #: src/lang.cls.php:191
1398
  msgid "Backend Heartbeat Control"
1399
  msgstr ""
1400
 
1401
+ #: src/lang.cls.php:192
1402
  msgid "Backend Heartbeat TTL"
1403
  msgstr ""
1404
 
1405
+ #: src/lang.cls.php:193
1406
  msgid "Editor Heartbeat"
1407
  msgstr ""
1408
 
1409
+ #: src/lang.cls.php:194
1410
  msgid "Editor Heartbeat TTL"
1411
  msgstr ""
1412
 
1413
+ #: src/lang.cls.php:196
1414
  msgid "QUIC.cloud CDN"
1415
  msgstr ""
1416
 
1417
+ #: src/lang.cls.php:197
1418
  msgid "Use CDN Mapping"
1419
  msgstr ""
1420
 
1421
+ #: src/lang.cls.php:198
1422
  msgid "CDN URL"
1423
  msgstr ""
1424
 
1425
+ #: src/lang.cls.php:199
1426
  msgid "Include Images"
1427
  msgstr ""
1428
 
1429
+ #: src/lang.cls.php:200
1430
  msgid "Include CSS"
1431
  msgstr ""
1432
 
1433
+ #: src/lang.cls.php:201
1434
  msgid "Include JS"
1435
  msgstr ""
1436
 
1437
+ #: src/lang.cls.php:202 tpl/cdn/settings.tpl.php:148
1438
  msgid "Include File Types"
1439
  msgstr ""
1440
 
1441
+ #: src/lang.cls.php:203
1442
  msgid "HTML Attribute To Replace"
1443
  msgstr ""
1444
 
1445
+ #: src/lang.cls.php:204
1446
  msgid "Original URLs"
1447
  msgstr ""
1448
 
1449
+ #: src/lang.cls.php:205
1450
  msgid "Included Directories"
1451
  msgstr ""
1452
 
1453
+ #: src/lang.cls.php:206
1454
  msgid "Exclude Path"
1455
  msgstr ""
1456
 
1457
+ #: src/lang.cls.php:207
1458
  msgid "Load JQuery Remotely"
1459
  msgstr ""
1460
 
1461
+ #: src/lang.cls.php:208
1462
  msgid "Cloudflare API"
1463
  msgstr ""
1464
 
1465
+ #: src/lang.cls.php:211
1466
  msgid "Delay"
1467
  msgstr ""
1468
 
1469
+ #: src/lang.cls.php:212
1470
  msgid "Run Duration"
1471
  msgstr ""
1472
 
1473
+ #: src/lang.cls.php:213
1474
  msgid "Interval Between Runs"
1475
  msgstr ""
1476
 
1477
+ #: src/lang.cls.php:214
1478
  msgid "Crawl Interval"
1479
  msgstr ""
1480
 
1481
+ #: src/lang.cls.php:215
1482
  msgid "Threads"
1483
  msgstr ""
1484
 
1485
+ #: src/lang.cls.php:216
1486
  msgid "Timeout"
1487
  msgstr ""
1488
 
1489
+ #: src/lang.cls.php:217
1490
  msgid "Server Load Limit"
1491
  msgstr ""
1492
 
1493
+ #: src/lang.cls.php:218
1494
  msgid "Role Simulation"
1495
  msgstr ""
1496
 
1497
+ #: src/lang.cls.php:219
1498
  msgid "Cookie Simulation"
1499
  msgstr ""
1500
 
1501
+ #: src/lang.cls.php:220 tpl/crawler/settings-sitemap.tpl.php:115
1502
  msgid "Custom Sitemap"
1503
  msgstr ""
1504
 
1505
+ #: src/lang.cls.php:221
1506
  msgid "Drop Domain from Sitemap"
1507
  msgstr ""
1508
 
1509
+ #: src/lang.cls.php:222
1510
  msgid "Sitemap Timeout"
1511
  msgstr ""
1512
 
1513
+ #: src/lang.cls.php:224 tpl/inc/disabled_all.php:5
1514
  msgid "Disable All Features"
1515
  msgstr ""
1516
 
1517
+ #: src/lang.cls.php:225 tpl/toolbox/log_viewer.tpl.php:7
1518
  msgid "Debug Log"
1519
  msgstr ""
1520
 
1521
+ #: src/lang.cls.php:226
1522
  msgid "Admin IPs"
1523
  msgstr ""
1524
 
1525
+ #: src/lang.cls.php:227
1526
  msgid "Debug Level"
1527
  msgstr ""
1528
 
1529
+ #: src/lang.cls.php:228
1530
  msgid "Log File Size Limit"
1531
  msgstr ""
1532
 
1533
+ #: src/lang.cls.php:229
1534
  msgid "Log Cookies"
1535
  msgstr ""
1536
 
1537
+ #: src/lang.cls.php:230
1538
  msgid "Collapse Query Strings"
1539
  msgstr ""
1540
 
1541
+ #: src/lang.cls.php:231
1542
  msgid "Debug URI Includes"
1543
  msgstr ""
1544
 
1545
+ #: src/lang.cls.php:232
1546
  msgid "Debug URI Excludes"
1547
  msgstr ""
1548
 
1549
+ #: src/lang.cls.php:234
1550
  msgid "Revisions Max Number"
1551
  msgstr ""
1552
 
1553
+ #: src/lang.cls.php:235
1554
  msgid "Revisions Max Age"
1555
  msgstr ""
1556
 
1854
  msgid "Dismiss this notice"
1855
  msgstr ""
1856
 
1857
+ #. #-#-#-#-# litespeed-cache.pot (LiteSpeed Cache 3.2.3) #-#-#-#-#
1858
  #. Plugin Name of the plugin/theme
1859
  #: tpl/banner/new_version.php:59 tpl/banner/new_version_dev.tpl.php:12
1860
  #: tpl/cache/more_settings_tip.tpl.php:15 tpl/inc/admin_footer.php:8
1870
  msgstr ""
1871
 
1872
  #: tpl/banner/new_version.php:71 tpl/banner/new_version_dev.tpl.php:24
1873
+ #: tpl/toolbox/beta_test.tpl.php:25
1874
  msgid "Upgrade"
1875
  msgstr ""
1876
 
1958
  msgstr ""
1959
 
1960
  #: tpl/cache/entry.tpl.php:8 tpl/cache/entry_network.tpl.php:7
1961
+ #: tpl/toolbox/entry.tpl.php:6 tpl/toolbox/purge.tpl.php:126
1962
  msgid "Purge"
1963
  msgstr ""
1964
 
2090
 
2091
  #: tpl/cache/settings-cache.tpl.php:34
2092
  msgid ""
2093
+ "With QUIC.cloud CDN enabled, you may still be seeing cache headers from your "
2094
  "local server."
2095
  msgstr ""
2096
 
2138
  "no-cacheable settings."
2139
  msgstr ""
2140
 
 
 
 
 
 
 
 
 
2141
  #: tpl/cache/settings-esi.tpl.php:7
2142
  msgid "ESI Settings"
2143
  msgstr ""
2174
  msgstr ""
2175
 
2176
  #: tpl/cache/settings-esi.tpl.php:35 tpl/cdn/manage.tpl.php:21
2177
+ #: tpl/crawler/summary.tpl.php:48 tpl/inc/check_cache_disabled.php:31
2178
  #: tpl/inc/check_if_network_disable_all.php:19 tpl/page_optm/entry.tpl.php:31
2179
+ #: tpl/page_optm/settings_css.tpl.php:86
2180
  #: tpl/page_optm/settings_discussion.tpl.php:11
2181
  msgid "WARNING"
2182
  msgstr ""
2202
  msgid "Cache the built-in Comment Form ESI block."
2203
  msgstr ""
2204
 
2205
+ #: tpl/cache/settings-esi.tpl.php:91
2206
+ msgid "Fetch Latest Predefined Nonce"
2207
+ msgstr ""
2208
+
2209
+ #: tpl/cache/settings-esi.tpl.php:93
2210
+ msgid ""
2211
+ "This will append any new predefined nonce found from the latest list source"
2212
+ msgstr ""
2213
+
2214
+ #: tpl/cache/settings-esi.tpl.php:98
2215
  msgid "The above nonces will be converted to ESI automatically."
2216
  msgstr ""
2217
 
2218
+ #: tpl/cache/settings-esi.tpl.php:100
2219
  msgid ""
2220
  "An optional second parameter may be used to specify cache control. Use a "
2221
  "space to separate"
2222
  msgstr ""
2223
 
2224
+ #: tpl/cache/settings-esi.tpl.php:103 tpl/cache/settings-purge.tpl.php:110
2225
  #: tpl/cdn/settings.tpl.php:189
2226
  msgid ""
2227
  "Wildcard %1$s supported (match zero or more characters). For example, to "
2228
  "match %2$s and %3$s, use %4$s."
2229
  msgstr ""
2230
 
2231
+ #: tpl/cache/settings-esi.tpl.php:131
2232
  msgid ""
2233
  "If your site contains public content that certain user roles can see but "
2234
  "other roles cannot, you can specify a Vary Group for those user roles. For "
2454
  #: tpl/cache/settings_inc.browser.tpl.php:29
2455
  msgid ""
2456
  "You can turn on browser caching in server admin too. <a %s>Learn more about "
2457
+ "LiteSpeed browser cache settings</a>."
2458
  msgstr ""
2459
 
2460
  #: tpl/cache/settings_inc.browser.tpl.php:42
2463
  "before expiring."
2464
  msgstr ""
2465
 
2466
+ #: tpl/cache/settings_inc.cache_dropquery.tpl.php:14
2467
+ msgid "Ignore certain query strings when caching. (LSWS %s required)"
2468
+ msgstr ""
2469
+
2470
+ #: tpl/cache/settings_inc.cache_dropquery.tpl.php:15
2471
+ msgid "For example, to drop parameters beginning with %s, %s can be used here."
2472
+ msgstr ""
2473
+
2474
  #: tpl/cache/settings_inc.cache_favicon.tpl.php:14
2475
  msgid "favicon.ico is requested on most pages."
2476
  msgstr ""
2577
  "order to cache correctly."
2578
  msgstr ""
2579
 
2580
+ #: tpl/cache/settings_inc.login_cookie.tpl.php:42
2581
  msgid "Invalid login cookie. Invalid characters found."
2582
  msgstr ""
2583
 
2584
+ #: tpl/cache/settings_inc.login_cookie.tpl.php:56
2585
  msgid ""
2586
  "WARNING: The .htaccess login cookie and Database login cookie do not match."
2587
  msgstr ""
2614
  msgid "Use object cache functionality."
2615
  msgstr ""
2616
 
2617
+ #: tpl/cache/settings_inc.object.tpl.php:47 tpl/crawler/blacklist.tpl.php:32
2618
+ #: tpl/crawler/summary.tpl.php:124
2619
  msgid "Status"
2620
  msgstr ""
2621
 
2766
  msgstr ""
2767
 
2768
  #: tpl/cdn/settings.tpl.php:66
2769
+ msgid "Remove CDN URL"
2770
  msgstr ""
2771
 
2772
  #: tpl/cdn/settings.tpl.php:74
2774
  msgstr ""
2775
 
2776
  #: tpl/cdn/settings.tpl.php:120
2777
+ msgid "Add new CDN URL"
2778
  msgstr ""
2779
 
2780
  #: tpl/cdn/settings.tpl.php:125
2901
  msgid "Empty blacklist"
2902
  msgstr ""
2903
 
2904
+ #: tpl/crawler/blacklist.tpl.php:21 tpl/crawler/entry.tpl.php:8
2905
  msgid "Blacklist"
2906
  msgstr ""
2907
 
2908
+ #: tpl/crawler/blacklist.tpl.php:25 tpl/img_optm/summary.tpl.php:194
2909
  msgid "Total"
2910
  msgstr ""
2911
 
2912
+ #: tpl/crawler/blacklist.tpl.php:31 tpl/crawler/map.tpl.php:43
2913
+ #: tpl/toolbox/purge.tpl.php:208
2914
  msgid "URL"
2915
  msgstr ""
2916
 
2917
+ #: tpl/crawler/blacklist.tpl.php:33 tpl/crawler/map.tpl.php:45
2918
  msgid "Operation"
2919
  msgstr ""
2920
 
2921
+ #: tpl/crawler/blacklist.tpl.php:46
2922
  msgid "Remove from Blacklist"
2923
  msgstr ""
2924
 
2925
+ #: tpl/crawler/blacklist.tpl.php:55
2926
  msgid "Not Blacklist"
2927
  msgstr ""
2928
 
2929
+ #: tpl/crawler/blacklist.tpl.php:56 tpl/crawler/map.tpl.php:69
2930
  msgid "Blacklisted due to not cacheable"
2931
  msgstr ""
2932
 
2933
+ #: tpl/crawler/blacklist.tpl.php:57 tpl/crawler/map.tpl.php:70
2934
+ #: tpl/crawler/summary.tpl.php:159 tpl/crawler/summary.tpl.php:180
2935
  msgid "Blacklisted"
2936
  msgstr ""
2937
 
2973
  msgid "Generated at %s"
2974
  msgstr ""
2975
 
2976
+ #: tpl/crawler/map.tpl.php:33
2977
  msgid "Sitemap List"
2978
  msgstr ""
2979
 
2980
+ #: tpl/crawler/map.tpl.php:37
2981
  msgid "Sitemap Total"
2982
  msgstr ""
2983
 
2984
+ #: tpl/crawler/map.tpl.php:44 tpl/dash/dashboard.tpl.php:464
2985
  msgid "Crawler Status"
2986
  msgstr ""
2987
 
2988
+ #: tpl/crawler/map.tpl.php:58
2989
  msgid "Add to Blacklist"
2990
  msgstr ""
2991
 
2992
+ #: tpl/crawler/map.tpl.php:67 tpl/crawler/summary.tpl.php:178
2993
  msgid "Cache Hit"
2994
  msgstr ""
2995
 
2996
+ #: tpl/crawler/map.tpl.php:68 tpl/crawler/summary.tpl.php:179
2997
  msgid "Cache Miss"
2998
  msgstr ""
2999
 
3222
  msgid "Crawler Cron"
3223
  msgstr ""
3224
 
3225
+ #: tpl/crawler/summary.tpl.php:49
3226
  msgid ""
3227
  "The crawler feature is not enabled on the LiteSpeed server. Please consult "
3228
  "your server admin."
3229
  msgstr ""
3230
 
3231
+ #: tpl/crawler/summary.tpl.php:50
3232
  msgid ""
3233
  "See <a %s>Introduction for Enabling the Crawler</a> for detailed information."
3234
  msgstr ""
3235
 
3236
+ #: tpl/crawler/summary.tpl.php:57
3237
  msgid "Current sitemap crawl started at"
3238
  msgstr ""
3239
 
3240
+ #: tpl/crawler/summary.tpl.php:63
3241
  msgid "The next complete sitemap crawl will start at"
3242
  msgstr ""
3243
 
3244
+ #: tpl/crawler/summary.tpl.php:71
3245
  msgid "Last complete run time for all crawlers"
3246
  msgstr ""
3247
 
3248
+ #: tpl/crawler/summary.tpl.php:72 tpl/crawler/summary.tpl.php:79
3249
  msgid "%d seconds"
3250
  msgstr ""
3251
 
3252
+ #: tpl/crawler/summary.tpl.php:78
3253
  msgid "Run time for previous crawler"
3254
  msgstr ""
3255
 
3256
+ #: tpl/crawler/summary.tpl.php:85 tpl/dash/dashboard.tpl.php:476
3257
  msgid "Current crawler started at"
3258
  msgstr ""
3259
 
3260
+ #: tpl/crawler/summary.tpl.php:92 tpl/dash/dashboard.tpl.php:483
3261
  msgid "Last interval"
3262
  msgstr ""
3263
 
3264
+ #: tpl/crawler/summary.tpl.php:99 tpl/dash/dashboard.tpl.php:490
3265
  msgid "Ended reason"
3266
  msgstr ""
3267
 
3268
+ #: tpl/crawler/summary.tpl.php:106 tpl/dash/dashboard.tpl.php:497
3269
  msgid "<b>Last crawled:</b> %s item(s)"
3270
  msgstr ""
3271
 
3272
+ #: tpl/crawler/summary.tpl.php:111
3273
  msgid "Reset position"
3274
  msgstr ""
3275
 
3276
+ #: tpl/crawler/summary.tpl.php:114
3277
  msgid "Manually run"
3278
  msgstr ""
3279
 
3280
+ #: tpl/crawler/summary.tpl.php:122
3281
  msgid "Cron Name"
3282
  msgstr ""
3283
 
3284
+ #: tpl/crawler/summary.tpl.php:123
3285
  msgid "Run Frequency"
3286
  msgstr ""
3287
 
3288
+ #: tpl/crawler/summary.tpl.php:125
3289
  msgid "Running"
3290
  msgstr ""
3291
 
3292
+ #: tpl/crawler/summary.tpl.php:156
3293
  msgid "Waiting"
3294
  msgstr ""
3295
 
3296
+ #: tpl/crawler/summary.tpl.php:157
3297
  msgid "Hit"
3298
  msgstr ""
3299
 
3300
+ #: tpl/crawler/summary.tpl.php:158
3301
  msgid "Miss"
3302
  msgstr ""
3303
 
3304
+ #: tpl/crawler/summary.tpl.php:166
3305
  msgid "running"
3306
  msgstr ""
3307
 
3308
+ #: tpl/crawler/summary.tpl.php:177
3309
  msgid "Waiting to be Crawled"
3310
  msgstr ""
3311
 
3312
+ #: tpl/crawler/summary.tpl.php:184
3313
  msgid "Run frequency is set by the Interval Between Runs setting."
3314
  msgstr ""
3315
 
3316
+ #: tpl/crawler/summary.tpl.php:185
3317
  msgid "Crawlers cannot run concurrently."
3318
  msgstr ""
3319
 
3320
+ #: tpl/crawler/summary.tpl.php:186
3321
  msgid ""
3322
+ "&nbsp;If both the cron and a manual run start at similar times, the first to "
3323
+ "be started will take precedence."
3324
  msgstr ""
3325
 
3326
+ #: tpl/crawler/summary.tpl.php:187
3327
  msgid ""
3328
  "Please see <a %s>Hooking WP-Cron Into the System Task Scheduler</a> to learn "
3329
  "how to create the system cron task."
3330
  msgstr ""
3331
 
3332
+ #: tpl/crawler/summary.tpl.php:192
3333
  msgid "Watch Crawler Status"
3334
  msgstr ""
3335
 
3336
+ #: tpl/crawler/summary.tpl.php:199
3337
  msgid "Show crawler status"
3338
  msgstr ""
3339
 
3340
+ #: tpl/crawler/summary.tpl.php:217
3341
  msgid "No crawler meta file generated yet"
3342
  msgstr ""
3343
 
3403
  msgstr ""
3404
 
3405
  #: tpl/dash/dashboard.tpl.php:202 tpl/img_optm/summary.tpl.php:51
3406
+ #: tpl/page_optm/settings_css.tpl.php:140
3407
  #: tpl/page_optm/settings_media.tpl.php:172
3408
  msgid "Are you sure to redetect the closest cloud server for this service?"
3409
  msgstr ""
3449
  msgstr ""
3450
 
3451
  #: tpl/dash/dashboard.tpl.php:407 tpl/dash/dashboard.tpl.php:438
3452
+ #: tpl/page_optm/settings_css.tpl.php:132
3453
  #: tpl/page_optm/settings_media.tpl.php:167
3454
  msgid "Last generated"
3455
  msgstr ""
3503
  msgstr ""
3504
 
3505
  #: tpl/db_optm/entry.tpl.php:17
3506
+ msgid "LiteSpeed Cache Database Optimization"
3507
  msgstr ""
3508
 
3509
  #: tpl/db_optm/manage.tpl.php:7
3594
  msgid "Clean revisions older than %1$s day(s), excluding %2$s latest revisions"
3595
  msgstr ""
3596
 
3597
+ #: tpl/db_optm/manage.tpl.php:78
3598
  msgid "Database Optimizer"
3599
  msgstr ""
3600
 
3601
+ #: tpl/db_optm/manage.tpl.php:107
3602
  msgid "Database Table Engine Converter"
3603
  msgstr ""
3604
 
3605
+ #: tpl/db_optm/manage.tpl.php:114
3606
  msgid "Table"
3607
  msgstr ""
3608
 
3609
+ #: tpl/db_optm/manage.tpl.php:115
3610
  msgid "Engine"
3611
  msgstr ""
3612
 
3613
+ #: tpl/db_optm/manage.tpl.php:116
3614
  msgid "Tool"
3615
  msgstr ""
3616
 
3617
+ #: tpl/db_optm/manage.tpl.php:130
3618
  msgid "Convert to InnoDB"
3619
  msgstr ""
3620
 
3621
+ #: tpl/db_optm/manage.tpl.php:138
3622
  msgid "We are good. No table uses MyISAM engine."
3623
  msgstr ""
3624
 
3625
+ #: tpl/db_optm/manage.tpl.php:159
3626
  msgid "Database Summary"
3627
  msgstr ""
3628
 
3629
+ #: tpl/db_optm/manage.tpl.php:174
3630
  msgid "Option Name"
3631
  msgstr ""
3632
 
3633
+ #: tpl/db_optm/manage.tpl.php:175
3634
  msgid "Size"
3635
  msgstr ""
3636
 
3846
  #: tpl/img_optm/settings.tpl.php:36
3847
  msgid ""
3848
  "Disabling this will stop the cron job responsible for pulling optimized "
3849
+ "images back from QUIC.cloud Image Server."
3850
  msgstr ""
3851
 
3852
  #: tpl/img_optm/settings.tpl.php:49
3904
  msgid "The image compression quality setting of WordPress out of 100."
3905
  msgstr ""
3906
 
3907
+ #: tpl/img_optm/summary.tpl.php:51 tpl/page_optm/settings_css.tpl.php:140
3908
  #: tpl/page_optm/settings_media.tpl.php:172
3909
  msgid "Current closest Cloud server is %s.&#10; Click to redetect."
3910
  msgstr ""
3911
 
3912
  #: tpl/img_optm/summary.tpl.php:55
3913
+ msgid "Optimize images with our QUIC.cloud server"
3914
  msgstr ""
3915
 
3916
  #: tpl/img_optm/summary.tpl.php:60
3954
 
3955
  #: tpl/img_optm/summary.tpl.php:111
3956
  msgid ""
3957
+ "After the QUIC.cloud Image Optimization server finishes optimization, it "
3958
+ "will notify your site to pull the optimized images."
3959
  msgstr ""
3960
 
3961
  #: tpl/img_optm/summary.tpl.php:112
3991
  msgstr ""
3992
 
3993
  #: tpl/img_optm/summary.tpl.php:216
3994
+ msgid "Image Thumbnail Group Sizes"
3995
  msgstr ""
3996
 
3997
  #: tpl/img_optm/summary.tpl.php:227
4151
  msgstr ""
4152
 
4153
  #: tpl/inc/check_cache_disabled.php:34
4154
+ msgid "LSCache caching functions on this page are currently unavailable!"
4155
  msgstr ""
4156
 
4157
  #: tpl/inc/check_if_network_disable_all.php:21
4174
 
4175
  #: tpl/inc/help_tabs.php:11
4176
  msgid ""
4177
+ "This plugin communicates with a LiteSpeed or QUIC.cloud server to let it "
4178
+ "know which pages are cacheable and when to purge them."
4179
  msgstr ""
4180
 
4181
  #: tpl/inc/help_tabs.php:12
4182
  msgid ""
4183
  "A LiteSpeed server (OLS, LSWS, WebADC) and its LSCache module must be "
4184
+ "installed and enabled unless using QUIC.cloud services or other optimization "
4185
+ "features."
4186
  msgstr ""
4187
 
4188
  #: tpl/inc/help_tabs.php:23
4267
  #: tpl/inc/show_rule_conflict.php:6
4268
  msgid ""
4269
  "Unexpected cache rule %2$s found in %1$s file. This rule may cause visitors "
4270
+ "to see old versions of pages due to the browser caching HTML pages. If you "
4271
+ "are sure that HTML pages are not being browser cached, this message can be "
4272
  "dismissed. (<a %3$s>Learn More</a>)"
4273
  msgstr ""
4274
 
4330
 
4331
  #: tpl/page_optm/settings_css.tpl.php:52
4332
  msgid ""
4333
+ "When having %1$s %2$s, enabling this will get one combined CSS file for each "
4334
+ "URI, regardless of the setting %3$s."
4335
+ msgstr ""
4336
+
4337
+ #: tpl/page_optm/settings_css.tpl.php:58
4338
+ msgid ""
4339
+ "This is useful when you want to refine/lint your CSS and further drop the "
4340
+ "unused CSS per page."
4341
+ msgstr ""
4342
+
4343
+ #: tpl/page_optm/settings_css.tpl.php:71
4344
+ msgid ""
4345
  "Pre-send internal CSS files to the browser before they are requested. "
4346
  "(Requires the HTTP/2 protocol)"
4347
  msgstr ""
4348
 
4349
+ #: tpl/page_optm/settings_css.tpl.php:90
4350
  msgid "Optimize CSS delivery."
4351
  msgstr ""
4352
 
4353
+ #: tpl/page_optm/settings_css.tpl.php:91
4354
  #: tpl/page_optm/settings_html.tpl.php:107
4355
  #: tpl/page_optm/settings_html.tpl.php:121
4356
  #: tpl/page_optm/settings_html.tpl.php:171 tpl/page_optm/settings_js.tpl.php:62
4360
  "PageSpeed."
4361
  msgstr ""
4362
 
4363
+ #: tpl/page_optm/settings_css.tpl.php:92
4364
  msgid ""
4365
  "When this option is turned %s, it will also load Google Fonts asynchronously."
4366
  msgstr ""
4367
 
4368
+ #: tpl/page_optm/settings_css.tpl.php:95
4369
  #: tpl/page_optm/settings_media_exc.tpl.php:27
4370
  #: tpl/page_optm/settings_tuning.tpl.php:60
4371
  #: tpl/page_optm/settings_tuning.tpl.php:102
4373
  msgid "Elements with attribute %s in html code will be excluded."
4374
  msgstr ""
4375
 
4376
+ #: tpl/page_optm/settings_css.tpl.php:109
4377
  msgid ""
4378
  "Leave this option %1$s to allow communication with QUIC.cloud CCSS service. "
4379
  "If set to %2$s, Critical CSS will not be generated."
4380
  msgstr ""
4381
 
4382
+ #: tpl/page_optm/settings_css.tpl.php:110
4383
  msgid "This option only works if %1$s is %2$s."
4384
  msgstr ""
4385
 
4386
+ #: tpl/page_optm/settings_css.tpl.php:123
4387
  msgid ""
4388
  "Automatically generate critical CSS in the background via a cron-based queue."
4389
  msgstr ""
4390
 
4391
+ #: tpl/page_optm/settings_css.tpl.php:124
4392
  #: tpl/page_optm/settings_media.tpl.php:159
4393
  msgid ""
4394
  "If set to %s this is done in the foreground, which may slow down page load."
4395
  msgstr ""
4396
 
4397
+ #: tpl/page_optm/settings_css.tpl.php:135
4398
  msgid "Last requested cost"
4399
  msgstr ""
4400
 
4401
+ #: tpl/page_optm/settings_css.tpl.php:145
4402
  msgid "URL list in queue waiting for cron"
4403
  msgstr ""
4404
 
4405
+ #: tpl/page_optm/settings_css.tpl.php:156
4406
  #: tpl/page_optm/settings_discussion.tpl.php:62
4407
  #: tpl/page_optm/settings_media.tpl.php:183
4408
  msgid "Run Queue Manually"
4409
  msgstr ""
4410
 
4411
+ #: tpl/page_optm/settings_css.tpl.php:172
4412
  msgid ""
4413
  "List post types where each item of that type should have its own CCSS "
4414
  "generated."
4415
  msgstr ""
4416
 
4417
+ #: tpl/page_optm/settings_css.tpl.php:173
4418
  msgid ""
4419
  "For example, if every Page on the site has different formatting, enter %s in "
4420
  "the box. Separate critical CSS files will be stored for every Page on the "
4421
  "site."
4422
  msgstr ""
4423
 
4424
+ #: tpl/page_optm/settings_css.tpl.php:187
4425
  msgid ""
4426
  "Separate critical CSS files will be generated for paths containing these "
4427
  "strings."
4428
  msgstr ""
4429
 
4430
+ #: tpl/page_optm/settings_css.tpl.php:201
4431
  msgid "This will inline the asynchronous CSS library to avoid render blocking."
4432
  msgstr ""
4433
 
4434
+ #: tpl/page_optm/settings_css.tpl.php:212 tpl/page_optm/settings_js.tpl.php:73
4435
  msgid "Default"
4436
  msgstr ""
4437
 
4438
+ #: tpl/page_optm/settings_css.tpl.php:214
4439
  msgid ""
4440
  "Set this to append %1$s to all %2$s rules before caching CSS to specify how "
4441
  "fonts should be displayed while being downloaded."
4442
  msgstr ""
4443
 
4444
+ #: tpl/page_optm/settings_css.tpl.php:215
4445
  msgid "%s is recommended."
4446
  msgstr ""
4447
 
4448
+ #: tpl/page_optm/settings_css.tpl.php:215
4449
  msgid "Swap"
4450
  msgstr ""
4451
 
4493
  msgstr ""
4494
 
4495
  #: tpl/page_optm/settings_html.tpl.php:75
4496
+ msgid "Prefetching DNS can reduce latency for visitors."
4497
  msgstr ""
4498
 
4499
  #: tpl/page_optm/settings_html.tpl.php:76
4528
 
4529
  #: tpl/page_optm/settings_html.tpl.php:142
4530
  msgid ""
4531
+ "Use Web Font Loader library to load Google Fonts asynchronously while "
4532
+ "leaving other CSS intact."
4533
  msgstr ""
4534
 
4535
  #: tpl/page_optm/settings_html.tpl.php:143
4544
 
4545
  #: tpl/page_optm/settings_html.tpl.php:170
4546
  msgid ""
4547
+ "Stop loading WordPress.org emoji. Browser default emoji will be displayed "
4548
  "instead."
4549
  msgstr ""
4550
 
4570
  msgid "After DOM Ready"
4571
  msgstr ""
4572
 
4573
+ #: tpl/page_optm/settings_js.tpl.php:73 tpl/page_optm/settings_js.tpl.php:76
4574
  msgid "Deferred"
4575
  msgstr ""
4576
 
4577
  #: tpl/page_optm/settings_js.tpl.php:75
4578
+ msgid ""
4579
+ "Loading inline JS after DOM is fully loaded can increase JS compatibility "
4580
+ "and reduce JS error when other JS optimization features are enabled."
4581
  msgstr ""
4582
 
4583
  #: tpl/page_optm/settings_js.tpl.php:76
4584
  msgid ""
4585
+ "%s is recommended although would cause the most issues for scripts that are "
4586
+ "placed inline to avoid being deferred."
4587
  msgstr ""
4588
 
4589
+ #: tpl/page_optm/settings_js.tpl.php:89
4590
  msgid ""
4591
  "Improve compatibility with inline JS by preventing jQuery optimization. "
4592
  "(Recommended Setting: %s)"
4593
  msgstr ""
4594
 
4595
+ #: tpl/page_optm/settings_js.tpl.php:92
4596
  msgid ""
4597
  "If there is any JS error related to %1$s when enabled %2$s, please turn on "
4598
  "this option."
4712
  msgstr ""
4713
 
4714
  #: tpl/page_optm/settings_media.tpl.php:213
4715
+ msgid "Include the lazy load image JavaScript library inline."
4716
  msgstr ""
4717
 
4718
  #: tpl/page_optm/settings_media_exc.tpl.php:21
4833
  msgid "Selected roles will be excluded from all optimizations."
4834
  msgstr ""
4835
 
4836
+ #: tpl/toolbox/beta_test.tpl.php:9
4837
  msgid "Try GitHub Version"
4838
  msgstr ""
4839
 
4840
+ #: tpl/toolbox/beta_test.tpl.php:13
4841
  msgid ""
4842
  "Use this section to switch plugin versions. To beta test a GitHub commit, "
4843
  "enter the commit URL in the field below."
4844
  msgstr ""
4845
 
4846
+ #: tpl/toolbox/beta_test.tpl.php:14
4847
  msgid "Example"
4848
  msgstr ""
4849
 
4850
+ #: tpl/toolbox/beta_test.tpl.php:18 tpl/toolbox/beta_test.tpl.php:22
4851
  msgid "Use latest GitHub commit"
4852
  msgstr ""
4853
 
4854
+ #: tpl/toolbox/beta_test.tpl.php:18 tpl/toolbox/beta_test.tpl.php:20
4855
  msgid "OR"
4856
  msgstr ""
4857
 
4858
+ #: tpl/toolbox/beta_test.tpl.php:20 tpl/toolbox/beta_test.tpl.php:23
4859
  msgid "Use latest WordPress release version"
4860
  msgstr ""
4861
 
4862
+ #: tpl/toolbox/beta_test.tpl.php:22
4863
+ msgid "Press the %s button to use the most recent GitHub commit."
 
4864
  msgstr ""
4865
 
4866
+ #: tpl/toolbox/beta_test.tpl.php:23
4867
  msgid ""
4868
  "Press the %s button to stop beta testing and go back to the current release "
4869
  "from the WordPress Plugin Directory."
4873
  msgid "LiteSpeed Cache Edit .htaccess"
4874
  msgstr ""
4875
 
4876
+ #: tpl/toolbox/edit_htaccess.tpl.php:44
4877
  msgid "This page is meant for advanced users."
4878
  msgstr ""
4879
 
4880
+ #: tpl/toolbox/edit_htaccess.tpl.php:46
4881
  msgid "Any changes made to the .htaccess file may break the site."
4882
  msgstr ""
4883
 
4884
+ #: tpl/toolbox/edit_htaccess.tpl.php:47
4885
  msgid "Please consult the host/server admin before making any changes."
4886
  msgstr ""
4887
 
4888
+ #: tpl/toolbox/edit_htaccess.tpl.php:54
4889
  msgid ".htaccess Path Settings"
4890
  msgstr ""
4891
 
4992
  msgid "Turn ON to control heartbeat in backend editor."
4993
  msgstr ""
4994
 
4995
+ #: tpl/toolbox/import_export.tpl.php:9
4996
  msgid "Export Settings"
4997
  msgstr ""
4998
 
4999
+ #: tpl/toolbox/import_export.tpl.php:14
5000
  msgid "Export"
5001
  msgstr ""
5002
 
5003
+ #: tpl/toolbox/import_export.tpl.php:19
5004
  msgid "Last exported"
5005
  msgstr ""
5006
 
5007
+ #: tpl/toolbox/import_export.tpl.php:24
5008
  msgid ""
5009
  "This will export all current LiteSpeed Cache settings and save as a file."
5010
  msgstr ""
5011
 
5012
+ #: tpl/toolbox/import_export.tpl.php:27
5013
  msgid "Import Settings"
5014
  msgstr ""
5015
 
5016
+ #: tpl/toolbox/import_export.tpl.php:35
5017
  msgid "Import"
5018
  msgstr ""
5019
 
5020
+ #: tpl/toolbox/import_export.tpl.php:41
5021
  msgid "Last imported"
5022
  msgstr ""
5023
 
5024
+ #: tpl/toolbox/import_export.tpl.php:46
5025
  msgid ""
5026
  "This will import settings from a file and override all current LiteSpeed "
5027
  "Cache settings."
5028
  msgstr ""
5029
 
5030
+ #: tpl/toolbox/import_export.tpl.php:49
5031
  msgid "Reset All Settings"
5032
  msgstr ""
5033
 
5034
+ #: tpl/toolbox/import_export.tpl.php:50
5035
  msgid "This will reset all settings to default settings."
5036
  msgstr ""
5037
 
5038
+ #: tpl/toolbox/import_export.tpl.php:52
5039
  msgid "Are you sure to reset all settings to default settings?"
5040
  msgstr ""
5041
 
5042
+ #: tpl/toolbox/import_export.tpl.php:53
5043
  msgid "Reset Settings"
5044
  msgstr ""
5045
 
5046
+ #: tpl/toolbox/log_viewer.tpl.php:11 tpl/toolbox/log_viewer.tpl.php:28
5047
  msgid "Clear Log"
5048
  msgstr ""
5049
 
5082
  msgstr ""
5083
 
5084
  #: tpl/toolbox/purge.tpl.php:40
5085
+ msgid "Purge the LiteSpeed cache entries created by this plugin"
5086
  msgstr ""
5087
 
5088
  #: tpl/toolbox/purge.tpl.php:46
5106
  msgstr ""
5107
 
5108
  #: tpl/toolbox/purge.tpl.php:91
5109
+ msgid "This will delete all cached Gravatar files"
5110
  msgstr ""
5111
 
5112
  #: tpl/toolbox/purge.tpl.php:100
5113
+ msgid ""
5114
+ "Purge the cache entries created by this plugin except for Critical CSS & "
5115
+ "LQIP caches"
5116
  msgstr ""
5117
 
5118
  #: tpl/toolbox/purge.tpl.php:109
5141
  msgid "If only the WordPress site should be purged, use purge all."
5142
  msgstr ""
5143
 
5144
+ #: tpl/toolbox/purge.tpl.php:161
5145
  msgid "Purge By..."
5146
  msgstr ""
5147
 
5148
+ #: tpl/toolbox/purge.tpl.php:163
5149
  msgid "Select below for \"Purge by\" options."
5150
  msgstr ""
5151
 
5152
+ #: tpl/toolbox/purge.tpl.php:190
5153
  msgid "Category"
5154
  msgstr ""
5155
 
5156
+ #: tpl/toolbox/purge.tpl.php:196
5157
  msgid "Post ID"
5158
  msgstr ""
5159
 
5160
+ #: tpl/toolbox/purge.tpl.php:202
5161
  msgid "Tag"
5162
  msgstr ""
5163
 
5164
+ #: tpl/toolbox/purge.tpl.php:214
5165
  msgid ""
5166
  "Purge pages by category name - e.g. %2$s should be used for the URL %1$s."
5167
  msgstr ""
5168
 
5169
+ #: tpl/toolbox/purge.tpl.php:219
5170
  msgid "Purge pages by post ID."
5171
  msgstr ""
5172
 
5173
+ #: tpl/toolbox/purge.tpl.php:223
5174
  msgid "Purge pages by tag name - e.g. %2$s should be used for the URL %1$s."
5175
  msgstr ""
5176
 
5177
+ #: tpl/toolbox/purge.tpl.php:228
5178
  msgid "Purge pages by relative or full URL."
5179
  msgstr ""
5180
 
5181
+ #: tpl/toolbox/purge.tpl.php:229
5182
  msgid "e.g. Use %s or %s."
5183
  msgstr ""
5184
 
5185
+ #: tpl/toolbox/purge.tpl.php:242
5186
  msgid "Purge List"
5187
  msgstr ""
5188
 
5200
  msgid "Go to plugins list"
5201
  msgstr ""
5202
 
5203
+ #: tpl/toolbox/report.tpl.php:41
5204
+ msgid "LiteSpeed Report"
5205
  msgstr ""
5206
 
5207
+ #: tpl/toolbox/report.tpl.php:45
5208
  msgid "Report number"
5209
  msgstr ""
5210
 
5211
+ #: tpl/toolbox/report.tpl.php:46
5212
  msgid "Report date"
5213
  msgstr ""
5214
 
5215
+ #: tpl/toolbox/report.tpl.php:49
5216
  msgid ""
5217
  "The environment report contains detailed information about the WordPress "
5218
  "configuration."
5219
  msgstr ""
5220
 
5221
+ #: tpl/toolbox/report.tpl.php:51
5222
  msgid ""
5223
  "If you run into any issues, please refer to the report number in your "
5224
  "support message."
5225
  msgstr ""
5226
 
5227
+ #: tpl/toolbox/report.tpl.php:57
5228
  msgid "System Information"
5229
  msgstr ""
5230
 
5231
+ #: tpl/toolbox/report.tpl.php:63
5232
  msgid "Passwordless Link"
5233
  msgstr ""
5234
 
5235
+ #: tpl/toolbox/report.tpl.php:67 tpl/toolbox/report.tpl.php:69
5236
  msgid "Generate Link for Current User"
5237
  msgstr ""
5238
 
5239
+ #: tpl/toolbox/report.tpl.php:72
5240
  msgid ""
5241
  "To grant wp-admin access to the LiteSpeed Support Team, please generate a "
5242
  "passwordless link for the current logged-in user to be sent with the report."
5243
  msgstr ""
5244
 
5245
+ #: tpl/toolbox/report.tpl.php:74
5246
  msgid "Please do NOT share the above passwordless link with anyone."
5247
  msgstr ""
5248
 
5249
+ #: tpl/toolbox/report.tpl.php:75
5250
  msgid "Generated links may be managed under <a %s>Settings</a>."
5251
  msgstr ""
5252
 
5253
+ #: tpl/toolbox/report.tpl.php:81
5254
  msgid "Notes"
5255
  msgstr ""
5256
 
5257
+ #: tpl/toolbox/report.tpl.php:85
5258
  msgid "Optional"
5259
  msgstr ""
5260
 
5261
+ #: tpl/toolbox/report.tpl.php:86
5262
  msgid ""
5263
  "provide more information here to assist the LiteSpeed team with debugging."
5264
  msgstr ""
5265
 
5266
+ #: tpl/toolbox/report.tpl.php:93 tpl/toolbox/report.tpl.php:94
5267
  msgid "Send to LiteSpeed"
5268
  msgstr ""
5269
 
5270
+ #: tpl/toolbox/report.tpl.php:97
5271
  msgid ""
5272
  "Send this report to LiteSpeed. Refer to this report number when posting in "
5273
  "the WordPress support forum."
litespeed-cache.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: LiteSpeed Cache
4
  * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
5
  * Description: High-performance page caching and site optimization from LiteSpeed
6
- * Version: 3.2.2
7
  * Author: LiteSpeed Technologies
8
  * Author URI: https://www.litespeedtech.com
9
  * License: GPLv3
@@ -33,7 +33,7 @@ if ( class_exists( 'LiteSpeed\Core' ) || defined( 'LSCWP_DIR' ) ) {
33
  return;
34
  }
35
 
36
- ! defined( 'LSCWP_V' ) && define( 'LSCWP_V', '3.2.2' );
37
 
38
  ! defined( 'LSCWP_CONTENT_DIR' ) && define( 'LSCWP_CONTENT_DIR', WP_CONTENT_DIR ) ;
39
  ! defined( 'LSCWP_DIR' ) && define( 'LSCWP_DIR', __DIR__ . '/' ) ;// Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU
3
  * Plugin Name: LiteSpeed Cache
4
  * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
5
  * Description: High-performance page caching and site optimization from LiteSpeed
6
+ * Version: 3.2.3.1
7
  * Author: LiteSpeed Technologies
8
  * Author URI: https://www.litespeedtech.com
9
  * License: GPLv3
33
  return;
34
  }
35
 
36
+ ! defined( 'LSCWP_V' ) && define( 'LSCWP_V', '3.2.3.1' );
37
 
38
  ! defined( 'LSCWP_CONTENT_DIR' ) && define( 'LSCWP_CONTENT_DIR', WP_CONTENT_DIR ) ;
39
  ! defined( 'LSCWP_DIR' ) && define( 'LSCWP_DIR', __DIR__ . '/' ) ;// Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: LiteSpeedTech
3
  Tags: caching, optimize, performance, pagespeed, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
  Requires at least: 4.0
5
- Tested up to: 5.4.1
6
- Stable tag: 3.2.2
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl.html
9
 
@@ -233,8 +233,8 @@ For more detailed information about crawler setup, please see [the Crawler docum
233
  * [Ninja Forms](https://wordpress.org/plugins/ninja-forms/)
234
  * [Post Types Order 1.9.3.6+](https://wordpress.org/plugins/post-types-order/)
235
  * [BoomBox — Viral Magazine WordPress Theme](https://themeforest.net/item/boombox-viral-buzz-wordpress-theme/16596434?ref=PX-lab)
236
- * Beaver Builder
237
  * FacetWP (LSWS 5.3.6+)
 
238
  * WpDiscuz
239
  * WP-Stateless
240
  * Elementor
@@ -244,6 +244,18 @@ The vast majority of plugins and themes are compatible with LiteSpeed Cache. The
244
 
245
  == Changelog ==
246
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  = 3.2.2 - Jun 10 2020 =
248
  * 🌱**Purge** Scheduled Purge URLs now supports wildcard. (#427338)
249
  * 🌱**ESI** ESI Nonce supports wildcard match now.
2
  Contributors: LiteSpeedTech
3
  Tags: caching, optimize, performance, pagespeed, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
  Requires at least: 4.0
5
+ Tested up to: 5.4.2
6
+ Stable tag: 3.2.3.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl.html
9
 
233
  * [Ninja Forms](https://wordpress.org/plugins/ninja-forms/)
234
  * [Post Types Order 1.9.3.6+](https://wordpress.org/plugins/post-types-order/)
235
  * [BoomBox — Viral Magazine WordPress Theme](https://themeforest.net/item/boombox-viral-buzz-wordpress-theme/16596434?ref=PX-lab)
 
236
  * FacetWP (LSWS 5.3.6+)
237
+ * Beaver Builder
238
  * WpDiscuz
239
  * WP-Stateless
240
  * Elementor
244
 
245
  == Changelog ==
246
 
247
+ = 3.2.3.1 - Jun 18 2020 =
248
+ * **API** New filter `litespeed_buffer_before` and `litespeed_buffer_after`. (#PR243 @joejordanbrown)
249
+
250
+ = 3.2.3 - Jun 18 2020 =
251
+ * 🌱**Page Optimize** Added Unique CSS option for future removal of unused CSS per page. (@moongear)
252
+ * **Page Optimize** Fixed an issue where Font Optimization could fail when having Load JS Deferred and Load Inline JS Deferred. (#PR241 @joejordanbrown)
253
+ * 🐞**Page Optimize** Fixed an issue with Font Display Optimization which caused Google Fonts to load incorrectly. (#PR240 @joejordanbrown @haidan)
254
+ * 🐞**Network** Use Primary Site Configuration setting for network sites now works properly with Object Cache and Browser Cache. (#56175101)
255
+ * **API** Added filter `litespeed_is_from_cloud` to detect if the current request is from QC or not. (@lechon)
256
+ * **ESI** ESI Nonce now can fetch latest list with one click.
257
+ * **GUI** Updated remaining documentation links & some minor UI tweaks. (@Joshua Reynolds)
258
+
259
  = 3.2.2 - Jun 10 2020 =
260
  * 🌱**Purge** Scheduled Purge URLs now supports wildcard. (#427338)
261
  * 🌱**ESI** ESI Nonce supports wildcard match now.
src/admin-display.cls.php CHANGED
@@ -205,39 +205,44 @@ class Admin_Display extends Base
205
  * @since 1.0.0
206
  * @access public
207
  */
208
- public function enqueue_scripts()
209
- {
210
- wp_register_script( Core::PLUGIN_NAME, LSWCP_PLUGIN_URL . 'assets/js/litespeed-cache-admin.js', array(), Core::VER, false ) ;
211
 
212
- $localize_data = array() ;
213
  if ( GUI::has_whm_msg() ) {
214
- $ajax_url_dismiss_whm = Utility::build_url( Core::ACTION_DISMISS, GUI::TYPE_DISMISS_WHM, true ) ;
215
- $localize_data[ 'ajax_url_dismiss_whm' ] = $ajax_url_dismiss_whm ;
216
  }
217
 
218
  if ( GUI::has_msg_ruleconflict() ) {
219
- $ajax_url = Utility::build_url( Core::ACTION_DISMISS, GUI::TYPE_DISMISS_EXPIRESDEFAULT, true ) ;
220
- $localize_data[ 'ajax_url_dismiss_ruleconflict' ] = $ajax_url ;
221
  }
222
 
223
- $promo_tag = GUI::get_instance()->show_promo( true ) ;
224
  if ( $promo_tag ) {
225
- $ajax_url_promo = Utility::build_url( Core::ACTION_DISMISS, GUI::TYPE_DISMISS_PROMO, true, null, array( 'promo_tag' => $promo_tag ) ) ;
226
- $localize_data[ 'ajax_url_promo' ] = $ajax_url_promo ;
227
  }
228
 
229
  // If on crawler page, append getIP link
230
  global $pagenow;
231
  if ( $pagenow == 'admin.php' && ! empty( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'litespeed-crawler' ) {
232
- $localize_data[ 'ajax_url_getIP' ] = function_exists( 'get_rest_url' ) ? get_rest_url( null, 'litespeed/v1/tool/check_ip' ) : '/' ;
 
 
 
 
 
 
233
  $localize_data[ 'nonce' ] = wp_create_nonce( 'wp_rest' );
234
  }
235
 
236
  if ( $localize_data ) {
237
- wp_localize_script(Core::PLUGIN_NAME, 'litespeed_data', $localize_data ) ;
238
  }
239
 
240
- wp_enqueue_script( Core::PLUGIN_NAME ) ;
241
  }
242
 
243
  /**
@@ -250,10 +255,10 @@ class Admin_Display extends Base
250
  */
251
  public function add_plugin_links($links)
252
  {
253
- // $links[] = '<a href="' . admin_url('options-general.php?page=litespeed-cache') . '">' . __('Settings', 'litespeed-cache') . '</a>' ;
254
- $links[] = '<a href="' . admin_url('admin.php?page=litespeed-cache') . '">' . __('Settings', 'litespeed-cache') . '</a>' ;
255
 
256
- return $links ;
257
  }
258
 
259
  /**
@@ -268,10 +273,10 @@ class Admin_Display extends Base
268
  public function add_update_text($translations, $text)
269
  {
270
  if ( $text !== 'Updated!' ) {
271
- return $translations ;
272
  }
273
 
274
- return $translations . ' ' . __('It is recommended that LiteSpeed Cache be purged after updating a plugin.', 'litespeed-cache') ;
275
  }
276
 
277
  /**
@@ -282,7 +287,7 @@ class Admin_Display extends Base
282
  */
283
  public function set_update_text()
284
  {
285
- add_filter('gettext', array($this, 'add_update_text'), 10, 2) ;
286
  }
287
 
288
  /**
@@ -293,7 +298,7 @@ class Admin_Display extends Base
293
  */
294
  public function unset_update_text()
295
  {
296
- remove_filter('gettext', array($this, 'add_update_text')) ;
297
  }
298
 
299
  /**
@@ -1071,7 +1076,7 @@ class Admin_Display extends Base
1071
  . __( 'API', 'litespeed-cache' ) . ': '
1072
  . sprintf( __( 'Server variable(s) %s available to override this setting.', 'litespeed-cache' ), $s ) ;
1073
 
1074
- $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:server_variables' ) ;
1075
  }
1076
 
1077
  /**
205
  * @since 1.0.0
206
  * @access public
207
  */
208
+ public function enqueue_scripts() {
209
+ wp_register_script( Core::PLUGIN_NAME, LSWCP_PLUGIN_URL . 'assets/js/litespeed-cache-admin.js', array(), Core::VER, false );
 
210
 
211
+ $localize_data = array();
212
  if ( GUI::has_whm_msg() ) {
213
+ $ajax_url_dismiss_whm = Utility::build_url( Core::ACTION_DISMISS, GUI::TYPE_DISMISS_WHM, true );
214
+ $localize_data[ 'ajax_url_dismiss_whm' ] = $ajax_url_dismiss_whm;
215
  }
216
 
217
  if ( GUI::has_msg_ruleconflict() ) {
218
+ $ajax_url = Utility::build_url( Core::ACTION_DISMISS, GUI::TYPE_DISMISS_EXPIRESDEFAULT, true );
219
+ $localize_data[ 'ajax_url_dismiss_ruleconflict' ] = $ajax_url;
220
  }
221
 
222
+ $promo_tag = GUI::get_instance()->show_promo( true );
223
  if ( $promo_tag ) {
224
+ $ajax_url_promo = Utility::build_url( Core::ACTION_DISMISS, GUI::TYPE_DISMISS_PROMO, true, null, array( 'promo_tag' => $promo_tag ) );
225
+ $localize_data[ 'ajax_url_promo' ] = $ajax_url_promo;
226
  }
227
 
228
  // If on crawler page, append getIP link
229
  global $pagenow;
230
  if ( $pagenow == 'admin.php' && ! empty( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'litespeed-crawler' ) {
231
+ $localize_data[ 'ajax_url_getIP' ] = function_exists( 'get_rest_url' ) ? get_rest_url( null, 'litespeed/v1/tool/check_ip' ) : '/';
232
+ $localize_data[ 'nonce' ] = wp_create_nonce( 'wp_rest' );
233
+ }
234
+ if ( ( $pagenow == 'admin.php' && ! empty( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'litespeed-crawler' )
235
+ || ( $pagenow == 'options-general.php' && ! empty( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'litespeed-cache-options' )
236
+ ) {
237
+ $localize_data[ 'ajax_url_fetch_esi_nonce' ] = function_exists( 'get_rest_url' ) ? get_rest_url( null, 'litespeed/v1/fetch_esi_nonce' ) : '/';
238
  $localize_data[ 'nonce' ] = wp_create_nonce( 'wp_rest' );
239
  }
240
 
241
  if ( $localize_data ) {
242
+ wp_localize_script(Core::PLUGIN_NAME, 'litespeed_data', $localize_data );
243
  }
244
 
245
+ wp_enqueue_script( Core::PLUGIN_NAME );
246
  }
247
 
248
  /**
255
  */
256
  public function add_plugin_links($links)
257
  {
258
+ // $links[] = '<a href="' . admin_url('options-general.php?page=litespeed-cache') . '">' . __('Settings', 'litespeed-cache') . '</a>';
259
+ $links[] = '<a href="' . admin_url('admin.php?page=litespeed-cache') . '">' . __('Settings', 'litespeed-cache') . '</a>';
260
 
261
+ return $links;
262
  }
263
 
264
  /**
273
  public function add_update_text($translations, $text)
274
  {
275
  if ( $text !== 'Updated!' ) {
276
+ return $translations;
277
  }
278
 
279
+ return $translations . ' ' . __('It is recommended that LiteSpeed Cache be purged after updating a plugin.', 'litespeed-cache');
280
  }
281
 
282
  /**
287
  */
288
  public function set_update_text()
289
  {
290
+ add_filter('gettext', array($this, 'add_update_text'), 10, 2);
291
  }
292
 
293
  /**
298
  */
299
  public function unset_update_text()
300
  {
301
+ remove_filter('gettext', array($this, 'add_update_text'));
302
  }
303
 
304
  /**
1076
  . __( 'API', 'litespeed-cache' ) . ': '
1077
  . sprintf( __( 'Server variable(s) %s available to override this setting.', 'litespeed-cache' ), $s ) ;
1078
 
1079
+ $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/admin/#limiting-the-crawler' ) ;
1080
  }
1081
 
1082
  /**
src/api.cls.php CHANGED
@@ -130,6 +130,11 @@ class API extends Base {
130
 
131
  add_filter( 'litespeed_is_mobile', __NAMESPACE__ . '\Control::is_mobile' ); // API::set_mobile() -> Filter `litespeed_is_mobile`
132
 
 
 
 
 
 
133
  /**
134
  * GUI
135
  */
130
 
131
  add_filter( 'litespeed_is_mobile', __NAMESPACE__ . '\Control::is_mobile' ); // API::set_mobile() -> Filter `litespeed_is_mobile`
132
 
133
+ /**
134
+ * Cloud
135
+ */
136
+ add_filter( 'litespeed_is_from_cloud', __NAMESPACE__ . '\Cloud::is_from_cloud' ); // Check if current request is from QC (usally its to check REST access) // @see https://wordpress.org/support/topic/image-optimization-not-working-3/
137
+
138
  /**
139
  * GUI
140
  */
src/base.cls.php CHANGED
@@ -11,124 +11,124 @@ namespace LiteSpeed ;
11
 
12
  defined( 'WPINC' ) || exit ;
13
 
14
- class Base extends Instance
15
- {
16
- protected static $_instance ;
17
 
18
  // This is redundant since v3.0
19
  // New conf items are `litespeed.key`
20
- const OPTION_NAME = 'litespeed-cache-conf' ;
21
 
22
- const _CACHE = '_cache' ; // final cache status from setting
23
 
24
  ## -------------------------------------------------- ##
25
  ## -------------- General ----------------- ##
26
  ## -------------------------------------------------- ##
27
- const _VER = '_version' ; // Not set-able
28
- const HASH = 'hash' ; // Not set-able
29
- const O_AUTO_UPGRADE = 'auto_upgrade' ;
30
- const O_API_KEY = 'api_key' ;
31
- const O_SERVER_IP = 'server_ip' ;
32
- const O_NEWS = 'news' ;
33
 
34
  ## -------------------------------------------------- ##
35
  ## -------------- Cache ----------------- ##
36
  ## -------------------------------------------------- ##
37
- const O_CACHE = 'cache' ;
38
- const O_CACHE_PRIV = 'cache-priv' ;
39
- const O_CACHE_COMMENTER = 'cache-commenter' ;
40
- const O_CACHE_REST = 'cache-rest' ;
41
- const O_CACHE_PAGE_LOGIN = 'cache-page_login' ;
42
- const O_CACHE_FAVICON = 'cache-favicon' ;
43
- const O_CACHE_RES = 'cache-resources' ;
44
- const O_CACHE_MOBILE = 'cache-mobile' ;
45
- const O_CACHE_MOBILE_RULES = 'cache-mobile_rules' ;
46
- const O_CACHE_BROWSER = 'cache-browser' ;
47
- const O_CACHE_EXC_USERAGENTS = 'cache-exc_useragents' ;
48
- const O_CACHE_EXC_COOKIES = 'cache-exc_cookies' ;
49
- const O_CACHE_EXC_QS = 'cache-exc_qs' ;
50
- const O_CACHE_EXC_CAT = 'cache-exc_cat' ;
51
- const O_CACHE_EXC_TAG = 'cache-exc_tag' ;
52
- const O_CACHE_FORCE_URI = 'cache-force_uri' ;
53
- const O_CACHE_FORCE_PUB_URI = 'cache-force_pub_uri' ;
54
- const O_CACHE_PRIV_URI = 'cache-priv_uri' ;
55
- const O_CACHE_EXC = 'cache-exc' ;
56
- const O_CACHE_EXC_ROLES = 'cache-exc_roles' ;
57
- const O_CACHE_DROP_QS = 'cache-drop_qs' ;
58
- const O_CACHE_TTL_PUB = 'cache-ttl_pub' ;
59
- const O_CACHE_TTL_PRIV = 'cache-ttl_priv' ;
60
- const O_CACHE_TTL_FRONTPAGE = 'cache-ttl_frontpage' ;
61
- const O_CACHE_TTL_FEED = 'cache-ttl_feed' ;
62
- const O_CACHE_TTL_REST = 'cache-ttl_rest' ;
63
- const O_CACHE_TTL_STATUS = 'cache-ttl_status' ;
64
- const O_CACHE_TTL_BROWSER = 'cache-ttl_browser' ;
65
- const O_CACHE_LOGIN_COOKIE = 'cache-login_cookie' ;
66
- const O_CACHE_VARY_GROUP = 'cache-vary_group' ;
67
 
68
  ## -------------------------------------------------- ##
69
  ## -------------- Purge ----------------- ##
70
  ## -------------------------------------------------- ##
71
- const O_PURGE_ON_UPGRADE = 'purge-upgrade' ;
72
- const O_PURGE_STALE = 'purge-stale' ;
73
- const O_PURGE_POST_ALL = 'purge-post_all' ;
74
- const O_PURGE_POST_FRONTPAGE = 'purge-post_f' ;
75
- const O_PURGE_POST_HOMEPAGE = 'purge-post_h' ;
76
- const O_PURGE_POST_PAGES = 'purge-post_p' ;
77
- const O_PURGE_POST_PAGES_WITH_RECENT_POSTS = 'purge-post_pwrp' ;
78
- const O_PURGE_POST_AUTHOR = 'purge-post_a' ;
79
- const O_PURGE_POST_YEAR = 'purge-post_y' ;
80
- const O_PURGE_POST_MONTH = 'purge-post_m' ;
81
- const O_PURGE_POST_DATE = 'purge-post_d' ;
82
- const O_PURGE_POST_TERM = 'purge-post_t' ; // include category|tag|tax
83
- const O_PURGE_POST_POSTTYPE = 'purge-post_pt' ;
84
- const O_PURGE_TIMED_URLS = 'purge-timed_urls' ;
85
- const O_PURGE_TIMED_URLS_TIME = 'purge-timed_urls_time' ;
86
- const O_PURGE_HOOK_ALL = 'purge-hook_all' ;
87
 
88
  ## -------------------------------------------------- ##
89
  ## -------------- ESI ----------------- ##
90
  ## -------------------------------------------------- ##
91
- const O_ESI = 'esi' ;
92
- const O_ESI_CACHE_ADMBAR = 'esi-cache_admbar' ;
93
- const O_ESI_CACHE_COMMFORM = 'esi-cache_commform' ;
94
- const O_ESI_NONCE = 'esi-nonce' ;
95
 
96
  ## -------------------------------------------------- ##
97
  ## -------------- Utilities ----------------- ##
98
  ## -------------------------------------------------- ##
99
- const O_UTIL_INSTANT_CLICK = 'util-instant_click' ;
100
- const O_UTIL_NO_HTTPS_VARY = 'util-no_https_vary' ;
101
 
102
  ## -------------------------------------------------- ##
103
  ## -------------- Debug ----------------- ##
104
  ## -------------------------------------------------- ##
105
- const O_DEBUG_DISABLE_ALL = 'debug-disable_all' ;
106
- const O_DEBUG = 'debug' ;
107
- const O_DEBUG_IPS = 'debug-ips' ;
108
- const O_DEBUG_LEVEL = 'debug-level' ;
109
- const O_DEBUG_FILESIZE = 'debug-filesize' ;
110
- const O_DEBUG_COOKIE = 'debug-cookie' ;
111
- const O_DEBUG_COLLAPS_QS = 'debug-collaps_qs' ;
112
- const O_DEBUG_INC = 'debug-inc' ;
113
- const O_DEBUG_EXC = 'debug-exc' ;
114
 
115
  ## -------------------------------------------------- ##
116
  ## -------------- DB Optm ----------------- ##
117
  ## -------------------------------------------------- ##
118
- const O_DB_OPTM_REVISIONS_MAX = 'db_optm-revisions_max' ;
119
- const O_DB_OPTM_REVISIONS_AGE = 'db_optm-revisions_age' ;
120
 
121
  ## -------------------------------------------------- ##
122
  ## -------------- HTML Optm ----------------- ##
123
  ## -------------------------------------------------- ##
124
- const O_OPTM_CSS_MIN = 'optm-css_min' ;
125
- const O_OPTM_CSS_INLINE_MIN = 'optm-css_inline_min' ;
126
- const O_OPTM_CSS_COMB = 'optm-css_comb' ;
127
- const O_OPTM_CSS_COMB_PRIO = 'optm-css_comb_priority' ;
128
- const O_OPTM_CSS_HTTP2 = 'optm-css_http2' ;
129
- const O_OPTM_CSS_EXC = 'optm-css_exc' ;
130
- const O_OPTM_JS_MIN = 'optm-js_min' ;
131
- const O_OPTM_JS_INLINE_MIN = 'optm-js_inline_min' ;
 
132
  const O_OPTM_JS_COMB = 'optm-js_comb' ;
133
  const O_OPTM_JS_COMB_PRIO = 'optm-js_comb_priority' ;
134
  const O_OPTM_JS_HTTP2 = 'optm-js_http2' ;
@@ -418,6 +418,7 @@ class Base extends Instance
418
  self::O_OPTM_CSS_INLINE_MIN => false,
419
  self::O_OPTM_CSS_COMB => false,
420
  self::O_OPTM_CSS_COMB_PRIO => false,
 
421
  self::O_OPTM_CSS_HTTP2 => false,
422
  self::O_OPTM_CSS_EXC => array(),
423
  self::O_OPTM_JS_MIN => false,
11
 
12
  defined( 'WPINC' ) || exit ;
13
 
14
+ class Base extends Instance {
15
+ protected static $_instance;
 
16
 
17
  // This is redundant since v3.0
18
  // New conf items are `litespeed.key`
19
+ const OPTION_NAME = 'litespeed-cache-conf';
20
 
21
+ const _CACHE = '_cache'; // final cache status from setting
22
 
23
  ## -------------------------------------------------- ##
24
  ## -------------- General ----------------- ##
25
  ## -------------------------------------------------- ##
26
+ const _VER = '_version'; // Not set-able
27
+ const HASH = 'hash'; // Not set-able
28
+ const O_AUTO_UPGRADE = 'auto_upgrade';
29
+ const O_API_KEY = 'api_key';
30
+ const O_SERVER_IP = 'server_ip';
31
+ const O_NEWS = 'news';
32
 
33
  ## -------------------------------------------------- ##
34
  ## -------------- Cache ----------------- ##
35
  ## -------------------------------------------------- ##
36
+ const O_CACHE = 'cache';
37
+ const O_CACHE_PRIV = 'cache-priv';
38
+ const O_CACHE_COMMENTER = 'cache-commenter';
39
+ const O_CACHE_REST = 'cache-rest';
40
+ const O_CACHE_PAGE_LOGIN = 'cache-page_login';
41
+ const O_CACHE_FAVICON = 'cache-favicon';
42
+ const O_CACHE_RES = 'cache-resources';
43
+ const O_CACHE_MOBILE = 'cache-mobile';
44
+ const O_CACHE_MOBILE_RULES = 'cache-mobile_rules';
45
+ const O_CACHE_BROWSER = 'cache-browser';
46
+ const O_CACHE_EXC_USERAGENTS = 'cache-exc_useragents';
47
+ const O_CACHE_EXC_COOKIES = 'cache-exc_cookies';
48
+ const O_CACHE_EXC_QS = 'cache-exc_qs';
49
+ const O_CACHE_EXC_CAT = 'cache-exc_cat';
50
+ const O_CACHE_EXC_TAG = 'cache-exc_tag';
51
+ const O_CACHE_FORCE_URI = 'cache-force_uri';
52
+ const O_CACHE_FORCE_PUB_URI = 'cache-force_pub_uri';
53
+ const O_CACHE_PRIV_URI = 'cache-priv_uri';
54
+ const O_CACHE_EXC = 'cache-exc';
55
+ const O_CACHE_EXC_ROLES = 'cache-exc_roles';
56
+ const O_CACHE_DROP_QS = 'cache-drop_qs';
57
+ const O_CACHE_TTL_PUB = 'cache-ttl_pub';
58
+ const O_CACHE_TTL_PRIV = 'cache-ttl_priv';
59
+ const O_CACHE_TTL_FRONTPAGE = 'cache-ttl_frontpage';
60
+ const O_CACHE_TTL_FEED = 'cache-ttl_feed';
61
+ const O_CACHE_TTL_REST = 'cache-ttl_rest';
62
+ const O_CACHE_TTL_STATUS = 'cache-ttl_status';
63
+ const O_CACHE_TTL_BROWSER = 'cache-ttl_browser';
64
+ const O_CACHE_LOGIN_COOKIE = 'cache-login_cookie';
65
+ const O_CACHE_VARY_GROUP = 'cache-vary_group';
66
 
67
  ## -------------------------------------------------- ##
68
  ## -------------- Purge ----------------- ##
69
  ## -------------------------------------------------- ##
70
+ const O_PURGE_ON_UPGRADE = 'purge-upgrade';
71
+ const O_PURGE_STALE = 'purge-stale';
72
+ const O_PURGE_POST_ALL = 'purge-post_all';
73
+ const O_PURGE_POST_FRONTPAGE = 'purge-post_f';
74
+ const O_PURGE_POST_HOMEPAGE = 'purge-post_h';
75
+ const O_PURGE_POST_PAGES = 'purge-post_p';
76
+ const O_PURGE_POST_PAGES_WITH_RECENT_POSTS = 'purge-post_pwrp';
77
+ const O_PURGE_POST_AUTHOR = 'purge-post_a';
78
+ const O_PURGE_POST_YEAR = 'purge-post_y';
79
+ const O_PURGE_POST_MONTH = 'purge-post_m';
80
+ const O_PURGE_POST_DATE = 'purge-post_d';
81
+ const O_PURGE_POST_TERM = 'purge-post_t'; // include category|tag|tax
82
+ const O_PURGE_POST_POSTTYPE = 'purge-post_pt';
83
+ const O_PURGE_TIMED_URLS = 'purge-timed_urls';
84
+ const O_PURGE_TIMED_URLS_TIME = 'purge-timed_urls_time';
85
+ const O_PURGE_HOOK_ALL = 'purge-hook_all';
86
 
87
  ## -------------------------------------------------- ##
88
  ## -------------- ESI ----------------- ##
89
  ## -------------------------------------------------- ##
90
+ const O_ESI = 'esi';
91
+ const O_ESI_CACHE_ADMBAR = 'esi-cache_admbar';
92
+ const O_ESI_CACHE_COMMFORM = 'esi-cache_commform';
93
+ const O_ESI_NONCE = 'esi-nonce';
94
 
95
  ## -------------------------------------------------- ##
96
  ## -------------- Utilities ----------------- ##
97
  ## -------------------------------------------------- ##
98
+ const O_UTIL_INSTANT_CLICK = 'util-instant_click';
99
+ const O_UTIL_NO_HTTPS_VARY = 'util-no_https_vary';
100
 
101
  ## -------------------------------------------------- ##
102
  ## -------------- Debug ----------------- ##
103
  ## -------------------------------------------------- ##
104
+ const O_DEBUG_DISABLE_ALL = 'debug-disable_all';
105
+ const O_DEBUG = 'debug';
106
+ const O_DEBUG_IPS = 'debug-ips';
107
+ const O_DEBUG_LEVEL = 'debug-level';
108
+ const O_DEBUG_FILESIZE = 'debug-filesize';
109
+ const O_DEBUG_COOKIE = 'debug-cookie';
110
+ const O_DEBUG_COLLAPS_QS = 'debug-collaps_qs';
111
+ const O_DEBUG_INC = 'debug-inc';
112
+ const O_DEBUG_EXC = 'debug-exc';
113
 
114
  ## -------------------------------------------------- ##
115
  ## -------------- DB Optm ----------------- ##
116
  ## -------------------------------------------------- ##
117
+ const O_DB_OPTM_REVISIONS_MAX = 'db_optm-revisions_max';
118
+ const O_DB_OPTM_REVISIONS_AGE = 'db_optm-revisions_age';
119
 
120
  ## -------------------------------------------------- ##
121
  ## -------------- HTML Optm ----------------- ##
122
  ## -------------------------------------------------- ##
123
+ const O_OPTM_CSS_MIN = 'optm-css_min';
124
+ const O_OPTM_CSS_INLINE_MIN = 'optm-css_inline_min';
125
+ const O_OPTM_CSS_COMB = 'optm-css_comb';
126
+ const O_OPTM_CSS_COMB_PRIO = 'optm-css_comb_priority';
127
+ const O_OPTM_CSS_UNIQUE = 'optm-css_unique';
128
+ const O_OPTM_CSS_HTTP2 = 'optm-css_http2';
129
+ const O_OPTM_CSS_EXC = 'optm-css_exc';
130
+ const O_OPTM_JS_MIN = 'optm-js_min';
131
+ const O_OPTM_JS_INLINE_MIN = 'optm-js_inline_min';
132
  const O_OPTM_JS_COMB = 'optm-js_comb' ;
133
  const O_OPTM_JS_COMB_PRIO = 'optm-js_comb_priority' ;
134
  const O_OPTM_JS_HTTP2 = 'optm-js_http2' ;
418
  self::O_OPTM_CSS_INLINE_MIN => false,
419
  self::O_OPTM_CSS_COMB => false,
420
  self::O_OPTM_CSS_COMB_PRIO => false,
421
+ self::O_OPTM_CSS_UNIQUE => false,
422
  self::O_OPTM_CSS_HTTP2 => false,
423
  self::O_OPTM_CSS_EXC => array(),
424
  self::O_OPTM_JS_MIN => false,
src/cloud.cls.php CHANGED
@@ -997,6 +997,24 @@ class Cloud extends Base
997
  echo "<script>window.history.pushState( 'remove_gen_link', document.title, window.location.href.replace( '&qc_res=" . $_GET[ 'qc_res' ] . "&domain_hash=" . $_GET[ 'domain_hash' ] . "', '' ) );</script>";
998
  }
999
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1000
  /**
1001
  * Return succeeded response
1002
  *
997
  echo "<script>window.history.pushState( 'remove_gen_link', document.title, window.location.href.replace( '&qc_res=" . $_GET[ 'qc_res' ] . "&domain_hash=" . $_GET[ 'domain_hash' ] . "', '' ) );</script>";
998
  }
999
 
1000
+ /**
1001
+ * Check if this visit is from cloud or not
1002
+ *
1003
+ * @since 3.0
1004
+ */
1005
+ public static function is_from_cloud() {
1006
+ $response = wp_remote_get( 'https://www.quic.cloud/ips?json' );
1007
+ if ( is_wp_error( $response ) ) {
1008
+ $error_message = $response->get_error_message();
1009
+ Debug2::debug( '[CLoud] failed to get ip whitelist: ' . $error_message );
1010
+ throw new \Exception( 'Failed to fetch QUIC.cloud whitelist' );
1011
+ }
1012
+
1013
+ $json = json_decode( $response[ 'body' ], true );
1014
+
1015
+ return Router::get_instance()->ip_access( $json );
1016
+ }
1017
+
1018
  /**
1019
  * Return succeeded response
1020
  *
src/conf.cls.php CHANGED
@@ -206,6 +206,7 @@ class Conf extends Base
206
  foreach ( self::$_default_options as $k => $v ) {
207
  if ( isset( $this->_site_options[ $k ] ) ) {
208
  $this->_options[ $k ] = $this->_site_options[ $k ];
 
209
  }
210
  }
211
  }
206
  foreach ( self::$_default_options as $k => $v ) {
207
  if ( isset( $this->_site_options[ $k ] ) ) {
208
  $this->_options[ $k ] = $this->_site_options[ $k ];
209
+ $this->_primary_options[ $k ] = $this->_site_options[ $k ];
210
  }
211
  }
212
  }
src/core.cls.php CHANGED
@@ -382,6 +382,9 @@ class Core extends Instance
382
  {
383
  $this->_check_is_html( $buffer );
384
 
 
 
 
385
  // Replace ESI preserved list
386
  $buffer = ESI::finalize( $buffer );
387
 
@@ -436,6 +439,9 @@ class Core extends Instance
436
  }
437
  }
438
 
 
 
 
439
  Debug2::debug( "End response\n--------------------------------------------------------------------------------\n" );
440
 
441
  return $buffer;
382
  {
383
  $this->_check_is_html( $buffer );
384
 
385
+ // Hook to modify buffer before
386
+ $buffer = apply_filters('litespeed_buffer_before', $buffer);
387
+
388
  // Replace ESI preserved list
389
  $buffer = ESI::finalize( $buffer );
390
 
439
  }
440
  }
441
 
442
+ // Hook to modify buffer after
443
+ $buffer = apply_filters('litespeed_buffer_after', $buffer);
444
+
445
  Debug2::debug( "End response\n--------------------------------------------------------------------------------\n" );
446
 
447
  return $buffer;
src/data.cls.php CHANGED
@@ -338,8 +338,7 @@ class Data extends Instance
338
  * @since 2.0
339
  * @access private
340
  */
341
- private function _tb_structure( $tb )
342
- {
343
  return File::read( LSCWP_DIR . 'src/data_structure/' . $tb . '.sql' );
344
  }
345
 
@@ -349,8 +348,7 @@ class Data extends Instance
349
  * @since 3.0
350
  * @access public
351
  */
352
- public function tb_create( $tb )
353
- {
354
  global $wpdb;
355
 
356
  Debug2::debug2( '[Data] Checking table ' . $tb );
@@ -382,8 +380,7 @@ class Data extends Instance
382
  * @since 3.0
383
  * @access public
384
  */
385
- public function tb_del( $tb )
386
- {
387
  global $wpdb;
388
 
389
  if ( ! $this->tb_exist( $tb ) ) {
@@ -402,8 +399,7 @@ class Data extends Instance
402
  * @since 3.0
403
  * @access public
404
  */
405
- public function tables_del()
406
- {
407
  global $wpdb;
408
 
409
  $this->tb_del( 'cssjs' );
@@ -420,8 +416,7 @@ class Data extends Instance
420
  * @since 1.3.1
421
  * @access public
422
  */
423
- public function optm_save_src( $filename, $src )
424
- {
425
  global $wpdb;
426
 
427
  $src = json_encode( $src );
@@ -443,15 +438,14 @@ class Data extends Instance
443
  * @since 1.3.1
444
  * @access public
445
  */
446
- public function optm_hash2src( $filename )
447
- {
448
  global $wpdb;
449
 
450
- $res = $wpdb->get_var( $wpdb->prepare( 'SELECT src FROM `' . $this->tb( 'cssjs' ) . '` WHERE `hash_name`=%s', $filename ) );
451
 
452
- Debug2::debug2( '[Data] Loaded hash2src ' . $res );
453
 
454
- $res = json_decode( $res, true );
455
 
456
  return $res;
457
  }
338
  * @since 2.0
339
  * @access private
340
  */
341
+ private function _tb_structure( $tb ) {
 
342
  return File::read( LSCWP_DIR . 'src/data_structure/' . $tb . '.sql' );
343
  }
344
 
348
  * @since 3.0
349
  * @access public
350
  */
351
+ public function tb_create( $tb ) {
 
352
  global $wpdb;
353
 
354
  Debug2::debug2( '[Data] Checking table ' . $tb );
380
  * @since 3.0
381
  * @access public
382
  */
383
+ public function tb_del( $tb ) {
 
384
  global $wpdb;
385
 
386
  if ( ! $this->tb_exist( $tb ) ) {
399
  * @since 3.0
400
  * @access public
401
  */
402
+ public function tables_del() {
 
403
  global $wpdb;
404
 
405
  $this->tb_del( 'cssjs' );
416
  * @since 1.3.1
417
  * @access public
418
  */
419
+ public function optm_save_src( $filename, $src ) {
 
420
  global $wpdb;
421
 
422
  $src = json_encode( $src );
438
  * @since 1.3.1
439
  * @access public
440
  */
441
+ public function optm_hash2src( $filename ) {
 
442
  global $wpdb;
443
 
444
+ $res = $wpdb->get_row( $wpdb->prepare( 'SELECT src, refer FROM `' . $this->tb( 'cssjs' ) . '` WHERE `hash_name`=%s', $filename ) );
445
 
446
+ Debug2::debug2( '[Data] Loaded hash2src ' . $res[ 'src' ] );
447
 
448
+ $res[ 'src' ] = json_decode( $res[ 'src' ], true );
449
 
450
  return $res;
451
  }
src/doc.cls.php CHANGED
@@ -59,6 +59,7 @@ class Doc
59
  {
60
  echo '<font class="litespeed-warning">' ;
61
  echo '⚠️ ' . __( 'This setting will edit the .htaccess file.', 'litespeed-cache' ) ;
 
62
  echo '</font>' ;
63
  }
64
 
59
  {
60
  echo '<font class="litespeed-warning">' ;
61
  echo '⚠️ ' . __( 'This setting will edit the .htaccess file.', 'litespeed-cache' ) ;
62
+ echo ' <a href="https://docs.litespeedtech.com/lscache/lscwp/toolbox/#edit-htaccess-tab" target="_blank" class="litespeed-learn-more">' . __( 'Learn More', 'litespeed-cache' ) . '</a>' ;
63
  echo '</font>' ;
64
  }
65
 
src/esi.cls.php CHANGED
@@ -165,6 +165,43 @@ class ESI extends Instance {
165
  return null;
166
  }
167
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  /**
169
  * Shortcode ESI
170
  *
165
  return null;
166
  }
167
 
168
+ /**
169
+ * Get ESI latest nonce list from git
170
+ *
171
+ * @since 3.2.3
172
+ */
173
+ public function fetch_esi_nonce() {
174
+ // Read latest list from https://raw.githubusercontent.com/litespeedtech/lscache_wp/master/data/esi.nonce.txt
175
+ $response = wp_remote_get( 'https://raw.githubusercontent.com/litespeedtech/lscache_wp/master/data/esi.nonce.txt' );
176
+ if ( is_wp_error( $response ) ) {
177
+ return new \WP_Error( 'remote_get_fail', 'Failed to fetch from https://raw.githubusercontent.com/litespeedtech/lscache_wp/master/data/esi.nonce.txt', array( 'status' => 404 ) );
178
+ }
179
+
180
+ $data = $response[ 'body' ];
181
+ $data = explode( "\n", $data );
182
+ $list = array();
183
+ foreach ( $data as $v ) {
184
+ // Drop comments (Codes from dologin)
185
+ if ( strpos( $v, '#' ) !== false ) {
186
+ $v = trim( substr( $v, 0, strpos( $v, '#' ) ) );
187
+ }
188
+
189
+ if ( ! $v ) {
190
+ continue;
191
+ }
192
+
193
+ $list[] = $v;
194
+ }
195
+
196
+ Debug2::debug( '[ESI] Latest list', $list );
197
+
198
+ $ori = ! empty( $_POST[ 'nonce_val' ] ) ? explode( "\n", $_POST[ 'nonce_val' ] ) : array();
199
+
200
+ $list = array_unique( array_filter( array_merge( $ori, $list ) ) );
201
+ $list = implode( "\n", $list );
202
+ return array( 'list' => $list );
203
+ }
204
+
205
  /**
206
  * Shortcode ESI
207
  *
src/lang.cls.php CHANGED
@@ -103,6 +103,7 @@ class Lang extends Base
103
  self::O_CACHE_EXC_ROLES => __( 'Do Not Cache Roles', 'litespeed-cache' ),
104
  self::O_OPTM_CSS_MIN => __( 'CSS Minify', 'litespeed-cache' ),
105
  self::O_OPTM_CSS_COMB => __( 'CSS Combine', 'litespeed-cache' ),
 
106
  self::O_OPTM_CSS_HTTP2 => __( 'CSS HTTP/2 Push', 'litespeed-cache' ),
107
  self::O_OPTM_JS_MIN => __( 'JS Minify', 'litespeed-cache' ),
108
  self::O_OPTM_JS_COMB => __( 'JS Combine', 'litespeed-cache' ),
103
  self::O_CACHE_EXC_ROLES => __( 'Do Not Cache Roles', 'litespeed-cache' ),
104
  self::O_OPTM_CSS_MIN => __( 'CSS Minify', 'litespeed-cache' ),
105
  self::O_OPTM_CSS_COMB => __( 'CSS Combine', 'litespeed-cache' ),
106
+ self::O_OPTM_CSS_UNIQUE => __( 'Unique CSS', 'litespeed-cache' ),
107
  self::O_OPTM_CSS_HTTP2 => __( 'CSS HTTP/2 Push', 'litespeed-cache' ),
108
  self::O_OPTM_JS_MIN => __( 'JS Minify', 'litespeed-cache' ),
109
  self::O_OPTM_JS_COMB => __( 'JS Combine', 'litespeed-cache' ),
src/optimize.cls.php CHANGED
@@ -730,24 +730,27 @@ class Optimize extends Base
730
 
731
  $subset = empty( $qs[ 'subset' ] ) ? '' : ':' . $qs[ 'subset' ] ;
732
 
733
- if ( $this->_conf_css_font_display ) {
734
- $subset .= '&display=' . $this->_conf_css_font_display ; // https://github.com/typekit/webfontloader/issues/409
735
- }
736
-
737
  foreach ( array_filter( explode( '|', $qs[ 'family' ] ) ) as $v2 ) {
738
  $families[] = $v2 . $subset ;
739
  }
740
 
741
  }
742
 
743
- $html .= '"' . implode( '","', $families ) . '"' ;
744
 
745
- $html .= ']}};</script>' ;
 
 
 
 
 
746
 
747
  // https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js
748
  $webfont_lib_url = LSWCP_PLUGIN_URL . self::LIB_FILE_WEBFONTLOADER ;
749
 
750
- $html .= '<script id="litespeed-webfont-lib" src="' . $webfont_lib_url . '" async></script>' ;
 
 
751
  $this->append_http2( $webfont_lib_url, 'js' ) ; // async lib will be http/2 pushed always
752
 
753
  // Put this in the very beginning for preconnect
@@ -858,35 +861,35 @@ class Optimize extends Base
858
  * @since 1.3
859
  * @access private
860
  */
861
- private function _limit_size_build_hash_url( $src_queue_list, $file_size_list, $file_type = 'css' )
862
- {
863
- $total = 0 ;
864
- $i = 0 ;
865
- $src_arr = array() ;
866
  foreach ( $src_queue_list as $k => $v ) {
867
 
868
- empty( $src_arr[ $i ] ) && $src_arr[ $i ] = array() ;
869
 
870
- $src_arr[ $i ][] = $v ;
871
 
872
- $total += $file_size_list[ $k ] ;
873
 
874
- if ( $total > $this->cfg_optm_max_size ) { // If larger than 1M, separate them
875
  $total = 0;
876
- $i ++ ;
877
  }
878
  }
879
  if ( count( $src_arr ) > 1 ) {
880
- Debug2::debug( '[Optm] separate ' . $file_type . ' to ' . count( $src_arr ) ) ;
881
  }
882
 
883
  // group build
884
- $hashed_arr = array() ;
885
  foreach ( $src_arr as $v ) {
886
- $hashed_arr[] = $this->_build_hash_url( $v, $file_type ) ;
887
  }
888
 
889
- return $hashed_arr ;
890
  }
891
 
892
  /**
@@ -1005,59 +1008,67 @@ class Optimize extends Base
1005
  * @access private
1006
  * @return string The final URL
1007
  */
1008
- private function _build_hash_url( $src, $file_type = 'css' )
1009
- {
1010
  if ( ! $src ) {
1011
- return false ;
 
 
 
 
 
1012
  }
1013
 
1014
  if ( ! is_array( $src ) ) {
1015
- $src = array( $src ) ;
1016
  }
1017
 
1018
- $src = array_values( $src ) ;
1019
 
1020
  // Drop query strings
1021
- $src = array_map( array( $this, 'remove_query_strings' ), $src ) ;
1022
 
1023
- $purge_timestamp = self::get_option( self::ITEM_TIMESTAMP_PURGE_CSS ) ;
1024
 
1025
- $hash = md5( json_encode( $src ) . $purge_timestamp ) ;
1026
 
1027
- $short = substr( $hash, -5 ) ;
1028
 
1029
- $filename = $short ;
1030
 
1031
  // Need to check conflicts
1032
  // If short hash exists
1033
- if ( $urls = Data::get_instance()->optm_hash2src( $short . '.' . $file_type ) ) {
 
1034
  // If conflicts
1035
- if ( $urls !== $src ) {
1036
- Data::get_instance()->optm_save_src( $hash . '.' . $file_type, $src ) ;
1037
- $filename = $hash ;
 
 
1038
  }
1039
  }
1040
- else {
1041
- // Short hash is safe now
1042
- Data::get_instance()->optm_save_src( $short . '.' . $file_type, $src ) ;
 
1043
  }
1044
 
1045
  // Generate static files
1046
- $static_file = LITESPEED_STATIC_DIR . "/cssjs/$filename.$file_type" ;
1047
  // Check if the file is valid to bypass minify process
1048
  if ( ! file_exists( $static_file ) || time() - filemtime( $static_file ) > $this->cfg_ttl ) {
1049
- $concat_only = ! ( $file_type === 'css' ? $this->cfg_css_min : $this->cfg_js_min ) ;
1050
 
1051
- $content = Optimizer::get_instance()->serve( $src, $concat_only ) ;
1052
 
1053
  // Generate static file
1054
- File::save( $static_file, $content, true ) ;
1055
 
1056
- Debug2::debug2( '[Optm] Saved static file [path] ' . $static_file ) ;
1057
 
1058
  }
1059
 
1060
- return LITESPEED_STATIC_URL . '/cssjs/' . $filename . '.' . $file_type ;
1061
  }
1062
 
1063
  /**
730
 
731
  $subset = empty( $qs[ 'subset' ] ) ? '' : ':' . $qs[ 'subset' ] ;
732
 
 
 
 
 
733
  foreach ( array_filter( explode( '|', $qs[ 'family' ] ) ) as $v2 ) {
734
  $families[] = $v2 . $subset ;
735
  }
736
 
737
  }
738
 
739
+ $html .= '"' . implode( '","', $families ) . ( $this->_conf_css_font_display ? '&display=' . $this->_conf_css_font_display : '' ) . '"';
740
 
741
+ $html .= ']}};';
742
+
743
+ // if webfontloader lib was loaded before WebFontConfig variable, call WebFont.load
744
+ $html .= 'if ( typeof WebFont === "object" && typeof WebFont.load === "function" ) { WebFont.load( WebFontConfig ); }';
745
+
746
+ $html .= '</script>' ;
747
 
748
  // https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js
749
  $webfont_lib_url = LSWCP_PLUGIN_URL . self::LIB_FILE_WEBFONTLOADER ;
750
 
751
+ // default async, if js defer set use defer
752
+ // TODO: make defer optional
753
+ $html .= '<script id="litespeed-webfont-lib" src="' . $webfont_lib_url . '" ' . ( $this->cfg_js_defer ? 'defer' : 'async' ) . '></script>' ;
754
  $this->append_http2( $webfont_lib_url, 'js' ) ; // async lib will be http/2 pushed always
755
 
756
  // Put this in the very beginning for preconnect
861
  * @since 1.3
862
  * @access private
863
  */
864
+ private function _limit_size_build_hash_url( $src_queue_list, $file_size_list, $file_type = 'css' ) {
865
+ $total = 0;
866
+ $i = 0;
867
+ $src_arr = array();
868
+ $url_sensitive = Conf::val( Base::O_OPTM_CSS_UNIQUE ) && $file_type == 'css'; // If need to keep unique CSS per URI
869
  foreach ( $src_queue_list as $k => $v ) {
870
 
871
+ empty( $src_arr[ $i ] ) && $src_arr[ $i ] = array();
872
 
873
+ $src_arr[ $i ][] = $v;
874
 
875
+ $total += $file_size_list[ $k ];
876
 
877
+ if ( $total > $this->cfg_optm_max_size && ! $url_sensitive ) { // If larger than 1M, separate them
878
  $total = 0;
879
+ $i ++;
880
  }
881
  }
882
  if ( count( $src_arr ) > 1 ) {
883
+ Debug2::debug( '[Optm] separate ' . $file_type . ' to ' . count( $src_arr ) );
884
  }
885
 
886
  // group build
887
+ $hashed_arr = array();
888
  foreach ( $src_arr as $v ) {
889
+ $hashed_arr[] = $this->_build_hash_url( $v, $file_type, $url_sensitive );
890
  }
891
 
892
+ return $hashed_arr;
893
  }
894
 
895
  /**
1008
  * @access private
1009
  * @return string The final URL
1010
  */
1011
+ private function _build_hash_url( $src, $file_type = 'css', $url_sensitive = false ) {
 
1012
  if ( ! $src ) {
1013
+ return false;
1014
+ }
1015
+
1016
+ // For those env who don't support SCRIPT_URI, need to keep $url_sensitive OFF.
1017
+ if ( empty( $_SERVER[ 'SCRIPT_URI' ] ) ) {
1018
+ $url_sensitive = false;
1019
  }
1020
 
1021
  if ( ! is_array( $src ) ) {
1022
+ $src = array( $src );
1023
  }
1024
 
1025
+ $src = array_values( $src );
1026
 
1027
  // Drop query strings
1028
+ $src = array_map( array( $this, 'remove_query_strings' ), $src );
1029
 
1030
+ $purge_timestamp = self::get_option( self::ITEM_TIMESTAMP_PURGE_CSS );
1031
 
1032
+ $hash = md5( json_encode( $src ) . $purge_timestamp );
1033
 
1034
+ $short = substr( $hash, -5 );
1035
 
1036
+ $filename = $short . '.' . $file_type;
1037
 
1038
  // Need to check conflicts
1039
  // If short hash exists
1040
+ $existed = false;
1041
+ if ( $optm_data = Data::get_instance()->optm_hash2src( $filename ) ) {
1042
  // If conflicts
1043
+ if ( $optm_data[ 'src' ] === $src && ( ! $url_sensitive || $optm_data[ 'refer' ] === $_SERVER[ 'SCRIPT_URI' ] ) ) {
1044
+ $existed = true;
1045
+ }
1046
+ else {
1047
+ $filename = $hash . '.' . $file_type;
1048
  }
1049
  }
1050
+
1051
+ // Need to insert the record
1052
+ if ( ! $existed ) {
1053
+ Data::get_instance()->optm_save_src( $filename, $src );
1054
  }
1055
 
1056
  // Generate static files
1057
+ $static_file = LITESPEED_STATIC_DIR . "/cssjs/$filename";
1058
  // Check if the file is valid to bypass minify process
1059
  if ( ! file_exists( $static_file ) || time() - filemtime( $static_file ) > $this->cfg_ttl ) {
1060
+ $concat_only = ! ( $file_type === 'css' ? $this->cfg_css_min : $this->cfg_js_min );
1061
 
1062
+ $content = Optimizer::get_instance()->serve( $filename, $concat_only, $src, ! empty( $_SERVER[ 'SCRIPT_URI' ] ) ? $_SERVER[ 'SCRIPT_URI' ] : false );
1063
 
1064
  // Generate static file
1065
+ File::save( $static_file, $content, true );
1066
 
1067
+ Debug2::debug2( '[Optm] Saved static file [path] ' . $static_file );
1068
 
1069
  }
1070
 
1071
+ return LITESPEED_STATIC_URL . '/cssjs/' . $filename;
1072
  }
1073
 
1074
  /**
src/optimizer.cls.php CHANGED
@@ -72,24 +72,32 @@ class Optimizer extends Instance
72
  *
73
  * @since 1.9
74
  * @access public
75
- * @return string The final content
76
  */
77
- public function serve( $filename, $concat_only )
78
- {
79
- if ( ! is_array( $filename ) ) {
80
- // Search filename in db for src URLs
81
- $urls = Data::get_instance()->optm_hash2src( $filename ) ;
82
- if ( ! $urls || ! is_array( $urls ) ) {
83
  return false;
84
  }
 
 
85
  }
86
- else {
87
- $urls = $filename ;
 
 
 
 
 
 
 
 
88
  }
89
 
90
  // Parse real file path
91
  $real_files = array() ;
92
- foreach ( $urls as $url ) {
93
  $real_file = Utility::is_internal_file( $url ) ;
94
  if ( ! $real_file ) {
95
  continue ;
@@ -101,13 +109,11 @@ class Optimizer extends Instance
101
  return false;
102
  }
103
 
104
- Debug2::debug2( '[Optmer] urls : ', $urls ) ;
105
 
106
  // set_error_handler( 'litespeed_exception_handler' ) ;
107
 
108
  $content = '' ;
109
- $tmp = parse_url( $urls[ 0 ], PHP_URL_PATH ) ;
110
- $file_type = substr( $tmp, strrpos( $tmp, '.' ) + 1 ) ;
111
  // try {
112
  // Handle CSS
113
  if ( $file_type === 'css' ) {
@@ -119,7 +125,7 @@ class Optimizer extends Instance
119
  }
120
 
121
  // } catch ( \Exception $e ) {
122
- // $tmp = '[url] ' . implode( ', ', $urls ) . ' [err] ' . $e->getMessage() ;
123
 
124
  // Debug2::debug( '******[Optmer] serve err ' . $tmp ) ;
125
  // error_log( '****** LiteSpeed Optimizer serve err ' . $tmp ) ;
@@ -138,7 +144,7 @@ class Optimizer extends Instance
138
  Debug2::debug2( '[Optmer] Generated content ' . $file_type ) ;
139
 
140
  // Add filter
141
- $content = apply_filters( 'litespeed_optm_cssjs', $content, $file_type, $urls ) ;
142
 
143
  return $content ;
144
  }
72
  *
73
  * @since 1.9
74
  * @access public
 
75
  */
76
+ public function serve( $filename, $concat_only, $src_list = false, $page_url = false ) {
77
+ // Search src set in db based on the requested filename
78
+ if ( ! $src_list ) {
79
+ $optm_data = Data::get_instance()->optm_hash2src( $filename );
80
+ if ( ! $optm_data[ 'src' ] || ! is_array( $optm_data[ 'src' ] ) ) {
 
81
  return false;
82
  }
83
+ $src_list = $optm_data[ 'src' ];
84
+ $page_url = $optm_data[ 'refer' ];
85
  }
86
+
87
+ $file_type = substr( $filename, strrpos( $filename, '.' ) + 1 );
88
+
89
+ // Check if need to run Unique CSS feature
90
+ if ( $file_type == 'css' ) {
91
+ $content = apply_filters( 'litespeed_css_serve', false, $filename, $src_list, $page_url );
92
+ if ( $content ) {
93
+ Debug2::debug( '[Optmer] Content from filter `litespeed_css_serve` for [file] ' . $filename . ' [url] ' . $page_url );
94
+ return $content;
95
+ }
96
  }
97
 
98
  // Parse real file path
99
  $real_files = array() ;
100
+ foreach ( $src_list as $url ) {
101
  $real_file = Utility::is_internal_file( $url ) ;
102
  if ( ! $real_file ) {
103
  continue ;
109
  return false;
110
  }
111
 
112
+ Debug2::debug2( '[Optmer] src_list : ', $src_list ) ;
113
 
114
  // set_error_handler( 'litespeed_exception_handler' ) ;
115
 
116
  $content = '' ;
 
 
117
  // try {
118
  // Handle CSS
119
  if ( $file_type === 'css' ) {
125
  }
126
 
127
  // } catch ( \Exception $e ) {
128
+ // $tmp = '[url] ' . implode( ', ', $src_list ) . ' [err] ' . $e->getMessage() ;
129
 
130
  // Debug2::debug( '******[Optmer] serve err ' . $tmp ) ;
131
  // error_log( '****** LiteSpeed Optimizer serve err ' . $tmp ) ;
144
  Debug2::debug2( '[Optmer] Generated content ' . $file_type ) ;
145
 
146
  // Add filter
147
+ $content = apply_filters( 'litespeed_optm_cssjs', $content, $file_type, $src_list ) ;
148
 
149
  return $content ;
150
  }
src/rest.cls.php CHANGED
@@ -4,15 +4,14 @@
4
  *
5
  * @since 2.9.4
6
  */
7
- namespace LiteSpeed ;
8
 
9
- defined( 'WPINC' ) || exit ;
10
 
11
- class REST extends Instance
12
- {
13
- protected static $_instance ;
14
 
15
- private $_internal_rest_status = false ;
16
 
17
  /**
18
  * Confructor of ESI
@@ -20,13 +19,12 @@ class REST extends Instance
20
  * @since 2.9.4
21
  * @access protected
22
  */
23
- protected function __construct()
24
- {
25
  // Hook to internal REST call
26
- add_filter( 'rest_request_before_callbacks', array( $this, 'set_internal_rest_on' ) ) ;
27
- add_filter( 'rest_request_after_callbacks', array( $this, 'set_internal_rest_off' ) ) ;
28
 
29
- add_action( 'rest_api_init', array( $this, 'rest_api_init' ) ) ;
30
  }
31
 
32
  /**
@@ -35,13 +33,22 @@ class REST extends Instance
35
  * @since 3.0
36
  * @access public
37
  */
38
- public function rest_api_init()
39
- {
40
  register_rest_route( 'litespeed/v1', '/tool/check_ip', array(
41
  'methods' => 'GET',
42
  'callback' => array( $this, 'check_ip' ),
43
  'permission_callback' => function() {
44
- return current_user_can( 'manage_network_options' ) || current_user_can( 'manage_options' ) ;
 
 
 
 
 
 
 
 
 
 
45
  }
46
  ) );
47
 
@@ -84,6 +91,7 @@ class REST extends Instance
84
  'methods' => 'POST',
85
  'callback' => array( $this, 'check_img' ),
86
  ) );
 
87
  }
88
 
89
  /**
@@ -91,8 +99,7 @@ class REST extends Instance
91
  *
92
  * @since 3.0.4
93
  */
94
- public function token_get()
95
- {
96
  return Cloud::ok();
97
  }
98
 
@@ -101,8 +108,7 @@ class REST extends Instance
101
  *
102
  * @since 3.0.4
103
  */
104
- public function ping()
105
- {
106
  return Cloud::ok( array( 'ver' => Core::VER ) );
107
  }
108
 
@@ -111,8 +117,7 @@ class REST extends Instance
111
  *
112
  * @since 3.0
113
  */
114
- public function check_ip()
115
- {
116
  return Tool::get_instance()->check_ip();
117
  }
118
 
@@ -121,8 +126,7 @@ class REST extends Instance
121
  *
122
  * @since 3.0
123
  */
124
- public function ip_validate()
125
- {
126
  return Cloud::get_instance()->ip_validate();
127
  }
128
 
@@ -131,8 +135,7 @@ class REST extends Instance
131
  *
132
  * @since 3.0
133
  */
134
- public function token()
135
- {
136
  return Cloud::get_instance()->token_validate();
137
  }
138
 
@@ -141,8 +144,7 @@ class REST extends Instance
141
  *
142
  * @since 3.0
143
  */
144
- public function apikey()
145
- {
146
  return Cloud::get_instance()->save_apikey();
147
  }
148
 
@@ -151,8 +153,7 @@ class REST extends Instance
151
  *
152
  * @since 3.0
153
  */
154
- public function notify_img()
155
- {
156
  return Img_Optm::get_instance()->notify_img();
157
  }
158
 
@@ -161,11 +162,19 @@ class REST extends Instance
161
  *
162
  * @since 3.0
163
  */
164
- public function check_img()
165
- {
166
  return Img_Optm::get_instance()->check_img();
167
  }
168
 
 
 
 
 
 
 
 
 
 
169
  /**
170
  * Set internal REST tag to ON
171
  *
@@ -174,10 +183,10 @@ class REST extends Instance
174
  */
175
  public function set_internal_rest_on( $not_used = null )
176
  {
177
- $this->_internal_rest_status = true ;
178
- Debug2::debug2( '[REST] ✅ Internal REST ON [filter] rest_request_before_callbacks' ) ;
179
 
180
- return $not_used ;
181
  }
182
 
183
  /**
@@ -188,10 +197,10 @@ class REST extends Instance
188
  */
189
  public function set_internal_rest_off( $not_used = null )
190
  {
191
- $this->_internal_rest_status = false ;
192
- Debug2::debug2( '[REST] ❎ Internal REST OFF [filter] rest_request_after_callbacks' ) ;
193
 
194
- return $not_used ;
195
  }
196
 
197
  /**
@@ -202,7 +211,7 @@ class REST extends Instance
202
  */
203
  public function is_internal_rest()
204
  {
205
- return $this->_internal_rest_status ;
206
  }
207
 
208
  /**
@@ -216,31 +225,31 @@ class REST extends Instance
216
  {
217
  // For WP 4.4.0- compatibility
218
  if ( ! function_exists( 'rest_get_url_prefix' ) ) {
219
- return defined( 'REST_REQUEST' ) && REST_REQUEST ;
220
  }
221
 
222
- $prefix = rest_get_url_prefix() ;
223
 
224
  // Case #1: After WP_REST_Request initialisation
225
  if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) {
226
- return true ;
227
  }
228
 
229
  // Case #2: Support "plain" permalink settings
230
  if ( isset( $_GET[ 'rest_route' ] ) && strpos( trim( $_GET[ 'rest_route' ], '\\/' ), $prefix , 0 ) === 0 ) {
231
- return true ;
232
  }
233
 
234
  if ( ! $url ) {
235
- return false ;
236
  }
237
 
238
  // Case #3: URL Path begins with wp-json/ (REST prefix) Safe for subfolder installation
239
- $rest_url = wp_parse_url( site_url( $prefix ) ) ;
240
- $current_url = wp_parse_url( $url ) ;
241
- // Debug2::debug( '[Util] is_rest check [base] ', $rest_url ) ;
242
- // Debug2::debug( '[Util] is_rest check [curr] ', $current_url ) ;
243
- // Debug2::debug( '[Util] is_rest check [curr2] ', wp_parse_url( add_query_arg( array( ) ) ) ) ;
244
- return strpos( $current_url[ 'path' ], $rest_url[ 'path' ] ) === 0 ;
245
  }
246
  }
4
  *
5
  * @since 2.9.4
6
  */
7
+ namespace LiteSpeed;
8
 
9
+ defined( 'WPINC' ) || exit;
10
 
11
+ class REST extends Instance {
12
+ protected static $_instance;
 
13
 
14
+ private $_internal_rest_status = false;
15
 
16
  /**
17
  * Confructor of ESI
19
  * @since 2.9.4
20
  * @access protected
21
  */
22
+ protected function __construct() {
 
23
  // Hook to internal REST call
24
+ add_filter( 'rest_request_before_callbacks', array( $this, 'set_internal_rest_on' ) );
25
+ add_filter( 'rest_request_after_callbacks', array( $this, 'set_internal_rest_off' ) );
26
 
27
+ add_action( 'rest_api_init', array( $this, 'rest_api_init' ) );
28
  }
29
 
30
  /**
33
  * @since 3.0
34
  * @access public
35
  */
36
+ public function rest_api_init() {
 
37
  register_rest_route( 'litespeed/v1', '/tool/check_ip', array(
38
  'methods' => 'GET',
39
  'callback' => array( $this, 'check_ip' ),
40
  'permission_callback' => function() {
41
+ return current_user_can( 'manage_network_options' ) || current_user_can( 'manage_options' );
42
+ }
43
+ ) );
44
+
45
+ // fetch_esi_nonce
46
+ // Need validation
47
+ register_rest_route( 'litespeed/v1', '/fetch_esi_nonce', array(
48
+ 'methods' => 'POST',
49
+ 'callback' => array( $this, 'fetch_esi_nonce' ),
50
+ 'permission_callback' => function() {
51
+ return current_user_can( 'manage_network_options' ) || current_user_can( 'manage_options' );
52
  }
53
  ) );
54
 
91
  'methods' => 'POST',
92
  'callback' => array( $this, 'check_img' ),
93
  ) );
94
+
95
  }
96
 
97
  /**
99
  *
100
  * @since 3.0.4
101
  */
102
+ public function token_get() {
 
103
  return Cloud::ok();
104
  }
105
 
108
  *
109
  * @since 3.0.4
110
  */
111
+ public function ping() {
 
112
  return Cloud::ok( array( 'ver' => Core::VER ) );
113
  }
114
 
117
  *
118
  * @since 3.0
119
  */
120
+ public function check_ip() {
 
121
  return Tool::get_instance()->check_ip();
122
  }
123
 
126
  *
127
  * @since 3.0
128
  */
129
+ public function ip_validate() {
 
130
  return Cloud::get_instance()->ip_validate();
131
  }
132
 
135
  *
136
  * @since 3.0
137
  */
138
+ public function token() {
 
139
  return Cloud::get_instance()->token_validate();
140
  }
141
 
144
  *
145
  * @since 3.0
146
  */
147
+ public function apikey() {
 
148
  return Cloud::get_instance()->save_apikey();
149
  }
150
 
153
  *
154
  * @since 3.0
155
  */
156
+ public function notify_img() {
 
157
  return Img_Optm::get_instance()->notify_img();
158
  }
159
 
162
  *
163
  * @since 3.0
164
  */
165
+ public function check_img() {
 
166
  return Img_Optm::get_instance()->check_img();
167
  }
168
 
169
+ /**
170
+ * Launch api call
171
+ *
172
+ * @since 3.2.3
173
+ */
174
+ public function fetch_esi_nonce() {
175
+ return ESI::get_instance()->fetch_esi_nonce();
176
+ }
177
+
178
  /**
179
  * Set internal REST tag to ON
180
  *
183
  */
184
  public function set_internal_rest_on( $not_used = null )
185
  {
186
+ $this->_internal_rest_status = true;
187
+ Debug2::debug2( '[REST] ✅ Internal REST ON [filter] rest_request_before_callbacks' );
188
 
189
+ return $not_used;
190
  }
191
 
192
  /**
197
  */
198
  public function set_internal_rest_off( $not_used = null )
199
  {
200
+ $this->_internal_rest_status = false;
201
+ Debug2::debug2( '[REST] ❎ Internal REST OFF [filter] rest_request_after_callbacks' );
202
 
203
+ return $not_used;
204
  }
205
 
206
  /**
211
  */
212
  public function is_internal_rest()
213
  {
214
+ return $this->_internal_rest_status;
215
  }
216
 
217
  /**
225
  {
226
  // For WP 4.4.0- compatibility
227
  if ( ! function_exists( 'rest_get_url_prefix' ) ) {
228
+ return defined( 'REST_REQUEST' ) && REST_REQUEST;
229
  }
230
 
231
+ $prefix = rest_get_url_prefix();
232
 
233
  // Case #1: After WP_REST_Request initialisation
234
  if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) {
235
+ return true;
236
  }
237
 
238
  // Case #2: Support "plain" permalink settings
239
  if ( isset( $_GET[ 'rest_route' ] ) && strpos( trim( $_GET[ 'rest_route' ], '\\/' ), $prefix , 0 ) === 0 ) {
240
+ return true;
241
  }
242
 
243
  if ( ! $url ) {
244
+ return false;
245
  }
246
 
247
  // Case #3: URL Path begins with wp-json/ (REST prefix) Safe for subfolder installation
248
+ $rest_url = wp_parse_url( site_url( $prefix ) );
249
+ $current_url = wp_parse_url( $url );
250
+ // Debug2::debug( '[Util] is_rest check [base] ', $rest_url );
251
+ // Debug2::debug( '[Util] is_rest check [curr] ', $current_url );
252
+ // Debug2::debug( '[Util] is_rest check [curr2] ', wp_parse_url( add_query_arg( array( ) ) ) );
253
+ return strpos( $current_url[ 'path' ], $rest_url[ 'path' ] ) === 0;
254
  }
255
  }
src/router.cls.php CHANGED
@@ -587,26 +587,23 @@ class Router extends Instance
587
  * Check if the ip is in the range
588
  *
589
  * @since 1.1.0
590
- * @access private
591
- * @param string $ip_list IP list
592
- * @return bool
593
  */
594
- private function ip_access( $ip_list )
595
- {
596
  if ( ! $ip_list ) {
597
- return false ;
598
  }
599
  if ( ! isset( self::$_ip ) ) {
600
- self::$_ip = $this->get_ip() ;
601
  }
602
- // $uip = explode('.', $_ip) ;
603
- // if(empty($uip) || count($uip) != 4) Return false ;
604
- // foreach($ip_list as $key => $ip) $ip_list[$key] = explode('.', trim($ip)) ;
605
  // foreach($ip_list as $key => $ip) {
606
- // if(count($ip) != 4) continue ;
607
- // for($i = 0 ; $i <= 3 ; $i++) if($ip[$i] == '*') $ip_list[$key][$i] = $uip[$i] ;
608
  // }
609
- return in_array( self::$_ip, $ip_list ) ;
610
  }
611
 
612
  /**
587
  * Check if the ip is in the range
588
  *
589
  * @since 1.1.0
590
+ * @access public
 
 
591
  */
592
+ public function ip_access( $ip_list ) {
 
593
  if ( ! $ip_list ) {
594
+ return false;
595
  }
596
  if ( ! isset( self::$_ip ) ) {
597
+ self::$_ip = $this->get_ip();
598
  }
599
+ // $uip = explode('.', $_ip);
600
+ // if(empty($uip) || count($uip) != 4) Return false;
601
+ // foreach($ip_list as $key => $ip) $ip_list[$key] = explode('.', trim($ip));
602
  // foreach($ip_list as $key => $ip) {
603
+ // if(count($ip) != 4) continue;
604
+ // for($i = 0; $i <= 3; $i++) if($ip[$i] == '*') $ip_list[$key][$i] = $uip[$i];
605
  // }
606
+ return in_array( self::$_ip, $ip_list );
607
  }
608
 
609
  /**
thirdparty/woocommerce.content.tpl.php CHANGED
@@ -11,13 +11,13 @@ use \LiteSpeed\Admin_Display ;
11
 
12
  <h3 class="litespeed-title-short">
13
  <?php echo __( 'WooCommerce Settings', 'litespeed-cache' ) ; ?>
14
- <?php Admin_Display::get_instance()->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:woocommerce', false, 'litespeed-learn-more' ) ; ?>
15
  </h3>
16
 
17
  <div class="litespeed-callout notice notice-warning inline">
18
  <h4><?php echo __( 'NOTICE:', 'litespeed-cache' ); ?></h4>
19
  <p><?php echo __( 'After verifying that the cache works in general, please test the cart.', 'litespeed-cache' ) ; ?></p>
20
- <p><?php echo sprintf( __( 'To test the cart, visit the <a %s>FAQ</a>.', 'litespeed-cache' ), 'href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:information:configuration" target="_blank"' ) ; ?></p>
21
  </div>
22
 
23
  <table class="wp-list-table striped litespeed-table"><tbody>
11
 
12
  <h3 class="litespeed-title-short">
13
  <?php echo __( 'WooCommerce Settings', 'litespeed-cache' ) ; ?>
14
+ <?php Admin_Display::get_instance()->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#woocommerce-tab', false, 'litespeed-learn-more' ) ; ?>
15
  </h3>
16
 
17
  <div class="litespeed-callout notice notice-warning inline">
18
  <h4><?php echo __( 'NOTICE:', 'litespeed-cache' ); ?></h4>
19
  <p><?php echo __( 'After verifying that the cache works in general, please test the cart.', 'litespeed-cache' ) ; ?></p>
20
+ <p><?php echo sprintf( __( 'To test the cart, visit the <a %s>FAQ</a>.', 'litespeed-cache' ), 'href="https://docs.litespeedtech.com/lscache/lscwp/installation/#testing" target="_blank"' ) ; ?></p>
21
  </div>
22
 
23
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/cache/network_settings-advanced.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Advanced Settings', 'litespeed-cache' ); ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:advanced', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Advanced Settings', 'litespeed-cache' ); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#advanced-tab', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/cache/network_settings-cache.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Cache Control Settings', 'litespeed-cache' ); ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cache', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -25,6 +25,7 @@ defined( 'WPINC' ) || exit;
25
  require LSCWP_DIR . 'tpl/cache/settings_inc.cache_favicon.tpl.php';
26
  require LSCWP_DIR . 'tpl/cache/settings_inc.cache_resources.tpl.php';
27
  require LSCWP_DIR . 'tpl/cache/settings_inc.cache_mobile.tpl.php';
 
28
  ?>
29
 
30
  </tbody></table>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Cache Control Settings', 'litespeed-cache' ); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
25
  require LSCWP_DIR . 'tpl/cache/settings_inc.cache_favicon.tpl.php';
26
  require LSCWP_DIR . 'tpl/cache/settings_inc.cache_resources.tpl.php';
27
  require LSCWP_DIR . 'tpl/cache/settings_inc.cache_mobile.tpl.php';
28
+ require LSCWP_DIR . 'tpl/cache/settings_inc.cache_dropquery.tpl.php';
29
  ?>
30
 
31
  </tbody></table>
tpl/cache/network_settings-excludes.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Exclude Settings', 'litespeed-cache' ); ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:excludes', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Exclude Settings', 'litespeed-cache' ); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#excludes-tab', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/cache/network_settings-purge.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Purge Settings', 'litespeed-cache' ); ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:purge', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Purge Settings', 'litespeed-cache' ); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#purge-tab', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/cache/settings-advanced.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Advanced Settings', 'litespeed-cache' ); ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:advanced', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <div class="litespeed-callout notice notice-warning inline">
@@ -30,7 +30,7 @@ defined( 'WPINC' ) || exit;
30
  <?php $this->build_switch( $id ); ?>
31
  <div class="litespeed-desc">
32
  <?php echo __( 'Enable this option if you are using both HTTP and HTTPS in the same domain and are noticing cache irregularities.', 'litespeed-cache' ); ?>
33
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:advanced#improve_http_https_compatibility' ); ?>
34
  </div>
35
  </td>
36
  </tr>
@@ -44,7 +44,7 @@ defined( 'WPINC' ) || exit;
44
  <?php $this->build_switch( $id ); ?>
45
  <div class="litespeed-desc">
46
  <?php echo __( 'When a vistor hovers over a page link, preload that page. This will speed up the visit to that link.', 'litespeed-cache' ); ?>
47
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:advanced#instant_click' ); ?>
48
  <br /><font class="litespeed-danger">
49
  ⚠️
50
  <?php echo __( 'This will generate extra requests to the server, which will increase server load.', 'litespeed-cache' ); ?>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Advanced Settings', 'litespeed-cache' ); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#advanced-tab', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <div class="litespeed-callout notice notice-warning inline">
30
  <?php $this->build_switch( $id ); ?>
31
  <div class="litespeed-desc">
32
  <?php echo __( 'Enable this option if you are using both HTTP and HTTPS in the same domain and are noticing cache irregularities.', 'litespeed-cache' ); ?>
33
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#improve-httphttps-compatibility' ); ?>
34
  </div>
35
  </td>
36
  </tr>
44
  <?php $this->build_switch( $id ); ?>
45
  <div class="litespeed-desc">
46
  <?php echo __( 'When a vistor hovers over a page link, preload that page. This will speed up the visit to that link.', 'litespeed-cache' ); ?>
47
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#instant-click' ); ?>
48
  <br /><font class="litespeed-danger">
49
  ⚠️
50
  <?php echo __( 'This will generate extra requests to the server, which will increase server load.', 'litespeed-cache' ); ?>
tpl/cache/settings-cache.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Cache Control Settings', 'litespeed-cache' ); ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cache', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -22,7 +22,7 @@ defined( 'WPINC' ) || exit;
22
  <?php endif; ?>
23
  <div class="litespeed-desc">
24
  <?php echo sprintf(__('Please visit the <a %s>Information</a> page on how to test the cache.', 'litespeed-cache'),
25
- 'href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:information:configuration" target="_blank"'); ?>
26
 
27
  <strong><?php echo __('NOTICE', 'litespeed-cache'); ?>: </strong><?php echo __('When disabling the cache, all cached entries for this blog will be purged.', 'litespeed-cache'); ?>
28
 
@@ -31,7 +31,7 @@ defined( 'WPINC' ) || exit;
31
  <?php endif; ?>
32
 
33
  <?php if ( ! Conf::val( Base::O_CACHE ) && Conf::val( Base::O_CDN_QUIC ) ): ?>
34
- <br><font class="litespeed-success"><?php echo __( 'With QUIC.cloud enabled, you may still be seeing cache headers from your local server.', 'litespeed-cache' ); ?></font>
35
  <?php endif; ?>
36
  </div>
37
  </td>
@@ -145,23 +145,11 @@ defined( 'WPINC' ) || exit;
145
  </td>
146
  </tr>
147
 
148
- <tr>
149
- <th>
150
- <?php $id = Base::O_CACHE_DROP_QS; ?>
151
- <?php $this->title( $id ); ?>
152
- </th>
153
- <td>
154
- <?php $this->build_textarea( $id, 40 ); ?>
155
- <div class="litespeed-desc">
156
- <?php echo __( 'Ignore certain query strings when caching.', 'litespeed-cache' ); ?>
157
- <?php echo sprintf( __( 'For example, to drop parameters beginning with %s, %s can be used here.', 'litespeed-cache' ), '<code>utm</code>', '<code>utm*</code>' ); ?>
158
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:drop_query_string' ); ?>
159
-
160
- <br />
161
- <?php Doc::one_per_line(); ?>
162
- </div>
163
- </td>
164
- </tr>
165
 
166
  </tbody></table>
167
 
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Cache Control Settings', 'litespeed-cache' ); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
22
  <?php endif; ?>
23
  <div class="litespeed-desc">
24
  <?php echo sprintf(__('Please visit the <a %s>Information</a> page on how to test the cache.', 'litespeed-cache'),
25
+ 'href="https://docs.litespeedtech.com/lscache/lscwp/installation/#testing" target="_blank"'); ?>
26
 
27
  <strong><?php echo __('NOTICE', 'litespeed-cache'); ?>: </strong><?php echo __('When disabling the cache, all cached entries for this blog will be purged.', 'litespeed-cache'); ?>
28
 
31
  <?php endif; ?>
32
 
33
  <?php if ( ! Conf::val( Base::O_CACHE ) && Conf::val( Base::O_CDN_QUIC ) ): ?>
34
+ <br><font class="litespeed-success"><?php echo __( 'With QUIC.cloud CDN enabled, you may still be seeing cache headers from your local server.', 'litespeed-cache' ); ?></font>
35
  <?php endif; ?>
36
  </div>
37
  </td>
145
  </td>
146
  </tr>
147
 
148
+ <?php
149
+ if ( ! $this->_is_multisite ) :
150
+ require LSCWP_DIR . 'tpl/cache/settings_inc.cache_dropquery.tpl.php';
151
+ endif;
152
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
153
 
154
  </tbody></table>
155
 
tpl/cache/settings-esi.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit ;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'ESI Settings', 'litespeed-cache' ) ; ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:esi', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
  <div class="litespeed-description">
@@ -21,10 +21,10 @@ defined( 'WPINC' ) || exit ;
21
  '<code>[shortcodeA att1="val1" att2="val2"]</code>',
22
  '<code>[esi shortcodeA att1="val1" att2="val2"]</code>'
23
  ) ; ?>
24
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:esi:shortcode' ) ; ?>
25
  </p>
26
  <p>
27
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:esi_sample', __( 'ESI sample for developers', 'litespeed-cache' ) ) ; ?>
28
  </p>
29
  </div>
30
 
@@ -83,7 +83,17 @@ defined( 'WPINC' ) || exit ;
83
  <?php $this->title( $id ) ; ?>
84
  </th>
85
  <td>
86
- <?php $this->build_textarea( $id ) ; ?>
 
 
 
 
 
 
 
 
 
 
87
  <div class="litespeed-desc">
88
  <?php echo __( 'The above nonces will be converted to ESI automatically.', 'litespeed-cache' ); ?>
89
  <?php Doc::one_per_line(); ?>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'ESI Settings', 'litespeed-cache' ) ; ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#esi-tab', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
  <div class="litespeed-description">
21
  '<code>[shortcodeA att1="val1" att2="val2"]</code>',
22
  '<code>[esi shortcodeA att1="val1" att2="val2"]</code>'
23
  ) ; ?>
24
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/admin/#turning-wordpress-shortcodes-into-esi-blocks' ) ; ?>
25
  </p>
26
  <p>
27
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/api/#generate-esi-block-url', __( 'ESI sample for developers', 'litespeed-cache' ) ) ; ?>
28
  </p>
29
  </div>
30
 
83
  <?php $this->title( $id ) ; ?>
84
  </th>
85
  <td>
86
+ <div class="litespeed-row-flex">
87
+ <div class="">
88
+ <?php $this->build_textarea( $id ) ; ?>
89
+ </div>
90
+ <div class="litespeed-width-3-10">
91
+ <a class="button litespeed-btn-warning" id="litespeed_fetch_esi_nonce"><?php echo __( 'Fetch Latest Predefined Nonce', 'litespeed-cache' ); ?></a>
92
+ <p class="litespeed-desc">
93
+ <?php echo __( 'This will append any new predefined nonce found from the latest list source', 'litespeed-cache' ); ?>: <a href="https://github.com/litespeedtech/lscache_wp/blob/master/data/esi.nonce.txt" target="_blank">https://github.com/litespeedtech/lscache_wp/blob/master/data/esi.nonce.txt</a>
94
+ </p>
95
+ </div>
96
+ </div>
97
  <div class="litespeed-desc">
98
  <?php echo __( 'The above nonces will be converted to ESI automatically.', 'litespeed-cache' ); ?>
99
  <?php Doc::one_per_line(); ?>
tpl/cache/settings-excludes.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Exclude Settings', 'litespeed-cache' ); ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:excludes', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Exclude Settings', 'litespeed-cache' ); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#excludes-tab', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/cache/settings-purge.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Purge Settings', 'litespeed-cache' ); ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:purge', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <?php
@@ -151,7 +151,7 @@ $break_arr = array(
151
 
152
  <div class="litespeed-desc">
153
  <?php echo __( 'A Purge All will be executed when WordPress runs these hooks.', 'litespeed-cache' ); ?>
154
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:advanced#hooks_to_purge_all' ); ?>
155
  </div>
156
  </td>
157
  </tr>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Purge Settings', 'litespeed-cache' ); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#purge-tab', false, 'litespeed-learn-more' ); ?>
9
  </h3>
10
 
11
  <?php
151
 
152
  <div class="litespeed-desc">
153
  <?php echo __( 'A Purge All will be executed when WordPress runs these hooks.', 'litespeed-cache' ); ?>
154
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#purge-all-hooks' ); ?>
155
  </div>
156
  </td>
157
  </tr>
tpl/cache/settings-ttl.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit ;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'TTL', 'litespeed-cache' ) ; ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:ttl', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
 
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'TTL', 'litespeed-cache' ) ; ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#ttl-tab', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
 
tpl/cache/settings_inc.browser.tpl.php CHANGED
@@ -4,7 +4,7 @@ defined( 'WPINC' ) || exit;
4
  ?>
5
  <h3 class="litespeed-title-short">
6
  <?php echo __( 'Browser Cache Settings', 'litespeed-cache' ); ?>
7
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:browser', false, 'litespeed-learn-more' ); ?>
8
  </h3>
9
 
10
  <?php if ( LITESPEED_SERVER_TYPE === 'LITESPEED_SERVER_OLS' ) : ?>
@@ -26,7 +26,7 @@ defined( 'WPINC' ) || exit;
26
  <div class="litespeed-desc">
27
  <?php echo __( 'Browser caching stores static files locally in the user\'s browser. Turn on this setting to reduce repeated requests for static files.', 'litespeed-cache' ); ?>
28
  <br /><?php Doc::notice_htaccess(); ?>
29
- <br /><?php echo sprintf( __( 'You can turn on browser caching in server admin too. <a %s>Learn more about LiteSpeed browser cache setting</a>.', 'litespeed-cache' ), 'href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:browser_cache" target="_blank"' ); ?>
30
  </div>
31
  </td>
32
  </tr>
4
  ?>
5
  <h3 class="litespeed-title-short">
6
  <?php echo __( 'Browser Cache Settings', 'litespeed-cache' ); ?>
7
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#browser-tab', false, 'litespeed-learn-more' ); ?>
8
  </h3>
9
 
10
  <?php if ( LITESPEED_SERVER_TYPE === 'LITESPEED_SERVER_OLS' ) : ?>
26
  <div class="litespeed-desc">
27
  <?php echo __( 'Browser caching stores static files locally in the user\'s browser. Turn on this setting to reduce repeated requests for static files.', 'litespeed-cache' ); ?>
28
  <br /><?php Doc::notice_htaccess(); ?>
29
+ <br /><?php echo sprintf( __( 'You can turn on browser caching in server admin too. <a %s>Learn more about LiteSpeed browser cache settings</a>.', 'litespeed-cache' ), 'href="https://docs.litespeedtech.com/lscache/lscwp/cache/#how-to-set-it-up" target="_blank"' ); ?>
30
  </div>
31
  </td>
32
  </tr>
tpl/cache/settings_inc.cache_dropquery.tpl.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace LiteSpeed ;
3
+ defined( 'WPINC' ) || exit ;
4
+ ?>
5
+
6
+ <tr>
7
+ <th>
8
+ <?php $id = Base::O_CACHE_DROP_QS; ?>
9
+ <?php $this->title( $id ); ?>
10
+ </th>
11
+ <td>
12
+ <?php $this->build_textarea( $id, 40 ); ?>
13
+ <div class="litespeed-desc">
14
+ <?php echo sprintf( __( 'Ignore certain query strings when caching. (LSWS %s required)', 'litespeed-cache' ), 'v5.2.3+' ); ?>
15
+ <?php echo sprintf( __( 'For example, to drop parameters beginning with %s, %s can be used here.', 'litespeed-cache' ), '<code>utm</code>', '<code>utm*</code>' ); ?>
16
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#drop-query-string' ); ?>
17
+
18
+ <br />
19
+ <?php Doc::one_per_line(); ?>
20
+
21
+ <br /><?php Doc::notice_htaccess() ; ?>
22
+ </div>
23
+ </td>
24
+ </tr>
tpl/cache/settings_inc.login_cookie.tpl.php CHANGED
@@ -32,8 +32,11 @@ defined( 'WPINC' ) || exit ;
32
  . '<br />'
33
  . sprintf(__('Then another WordPress is installed (NOT MULTISITE) at %s', 'litespeed-cache'), '<u>www.example.com/blog/</u>')
34
  . ' ' . __('The cache needs to distinguish who is logged into which WordPress site in order to cache correctly.', 'litespeed-cache')
35
- . '</p>'
36
- ;
 
 
 
37
 
38
  if ( preg_match( '#[^\w\-]#', Conf::val( $id ) ) ) {
39
  echo '<div class="litespeed-callout notice notice-error inline"><p>❌ ' . __( 'Invalid login cookie. Invalid characters found.', 'litespeed-cache' ) . '</p></div>' ;
32
  . '<br />'
33
  . sprintf(__('Then another WordPress is installed (NOT MULTISITE) at %s', 'litespeed-cache'), '<u>www.example.com/blog/</u>')
34
  . ' ' . __('The cache needs to distinguish who is logged into which WordPress site in order to cache correctly.', 'litespeed-cache')
35
+ . '<br />'
36
+ ; ?>
37
+ <?php Doc::notice_htaccess() ;
38
+ echo '</p>' ; ?>
39
+ <?php
40
 
41
  if ( preg_match( '#[^\w\-]#', Conf::val( $id ) ) ) {
42
  echo '<div class="litespeed-callout notice notice-error inline"><p>❌ ' . __( 'Invalid login cookie. Invalid characters found.', 'litespeed-cache' ) . '</p></div>' ;
tpl/cache/settings_inc.object.tpl.php CHANGED
@@ -25,7 +25,7 @@ else {
25
 
26
  <h3 class="litespeed-title-short">
27
  <?php echo __( 'Object Cache Settings', 'litespeed-cache' ) ; ?>
28
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:object', false, 'litespeed-learn-more' ) ; ?>
29
  </h3>
30
 
31
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -39,7 +39,7 @@ else {
39
  <?php $this->build_switch( $id ) ; ?>
40
  <div class="litespeed-desc">
41
  <?php echo __( 'Use object cache functionality.', 'litespeed-cache' ) ; ?>
42
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cache:object_cache' ) ; ?>
43
  </div>
44
  <div class="litespeed-block">
45
 
@@ -50,7 +50,7 @@ else {
50
  <?php echo sprintf( __( '%s Extension', 'litespeed-cache' ), 'Memcached' ) ; ?>: <?php echo $mem_enabled ; ?><br />
51
  <?php echo sprintf( __( '%s Extension', 'litespeed-cache' ), 'Redis' ) ; ?>: <?php echo $redis_enabled ; ?><br />
52
  <?php echo __( 'Connection Test', 'litespeed-cache' ) ; ?>: <?php echo $mem_conn_desc ; ?>
53
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cache:object_cache#how_to_debug' ) ; ?>
54
  </div>
55
 
56
  </div>
@@ -75,7 +75,7 @@ else {
75
  <td>
76
  <?php $this->build_input( $id ); ?>
77
  <div class="litespeed-desc">
78
- <?php echo sprintf( __( 'Your %s Hostname or IP address.', 'litespeed-cache' ), 'Memcached/<a href="https://www.litespeedtech.com/open-source/litespeed-memcached" target="_blank">LSMCD</a>/Redis' ) ; ?>
79
  </div>
80
  </td>
81
  </tr>
@@ -209,7 +209,7 @@ else {
209
  <div class="litespeed-desc">
210
  <?php echo sprintf( __( 'Save transients in database when %1$s is %2$s.', 'litespeed-cache' ), '<code>' . Lang::title( Base::O_OBJECT_ADMIN ) . '</code>', '<code>' . __( 'OFF', 'litespeed-cache' ) . '</code>' ) ; ?>
211
  <br />
212
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cache:object_cache#store_transients' ) ; ?>
213
  </div>
214
  </td>
215
  </tr>
25
 
26
  <h3 class="litespeed-title-short">
27
  <?php echo __( 'Object Cache Settings', 'litespeed-cache' ) ; ?>
28
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#object-tab', false, 'litespeed-learn-more' ) ; ?>
29
  </h3>
30
 
31
  <table class="wp-list-table striped litespeed-table"><tbody>
39
  <?php $this->build_switch( $id ) ; ?>
40
  <div class="litespeed-desc">
41
  <?php echo __( 'Use object cache functionality.', 'litespeed-cache' ) ; ?>
42
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/admin/#memcached-lsmcd-and-redis-object-cache-support-in-lscwp' ) ; ?>
43
  </div>
44
  <div class="litespeed-block">
45
 
50
  <?php echo sprintf( __( '%s Extension', 'litespeed-cache' ), 'Memcached' ) ; ?>: <?php echo $mem_enabled ; ?><br />
51
  <?php echo sprintf( __( '%s Extension', 'litespeed-cache' ), 'Redis' ) ; ?>: <?php echo $redis_enabled ; ?><br />
52
  <?php echo __( 'Connection Test', 'litespeed-cache' ) ; ?>: <?php echo $mem_conn_desc ; ?>
53
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/admin/#how-to-debug' ) ; ?>
54
  </div>
55
 
56
  </div>
75
  <td>
76
  <?php $this->build_input( $id ); ?>
77
  <div class="litespeed-desc">
78
+ <?php echo sprintf( __( 'Your %s Hostname or IP address.', 'litespeed-cache' ), 'Memcached/<a href="https://docs.litespeedtech.com/products/lsmcd/" target="_blank">LSMCD</a>/Redis' ) ; ?>
79
  </div>
80
  </td>
81
  </tr>
209
  <div class="litespeed-desc">
210
  <?php echo sprintf( __( 'Save transients in database when %1$s is %2$s.', 'litespeed-cache' ), '<code>' . Lang::title( Base::O_OBJECT_ADMIN ) . '</code>', '<code>' . __( 'OFF', 'litespeed-cache' ) . '</code>' ) ; ?>
211
  <br />
212
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#store-transients' ) ; ?>
213
  </div>
214
  </td>
215
  </tr>
tpl/cdn/settings.tpl.php CHANGED
@@ -19,7 +19,7 @@ $this->form_action() ;
19
 
20
  <h3 class="litespeed-title-short">
21
  <?php echo __( 'CDN Settings', 'litespeed-cache' ) ; ?>
22
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cdn', false, 'litespeed-learn-more' ) ; ?>
23
  </h3>
24
 
25
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -63,7 +63,7 @@ $this->form_action() ;
63
  <?php $this->title( $id ) ; ?>
64
  <button type="button" class="button button-link litespeed-collection-button litespeed-danger" data-litespeed-cdn-mapping-del="1" data-action="remove">
65
  <span class="dashicons dashicons-dismiss"></span>
66
- <span class="screen-reader-text"><?php echo __( 'Remove CDN url', 'litespeed-cache' ) ; ?></span>
67
  </button>
68
  </label>
69
 
@@ -117,7 +117,7 @@ $this->form_action() ;
117
  <?php endforeach ; ?>
118
 
119
  <p><button type="button" class="button button-link litespeed-form-action litespeed-link-with-icon" id="litespeed-cdn-mapping-add" data-action="add">
120
- <span class="dashicons dashicons-plus-alt"></span><?php echo __( 'Add new CDN url', 'litespeed-cache' );?>
121
  </button></p>
122
 
123
  <div class="litespeed-warning">
@@ -142,11 +142,11 @@ $this->form_action() ;
142
  <?php echo __( 'Static file type links to be replaced by CDN links.', 'litespeed-cache' ) ; ?>
143
  <?php Doc::one_per_line() ; ?>
144
  <?php echo sprintf( __( 'This will affect all tags containing attributes: %s %s %s.', 'litespeed-cache' ), '<code>src=""</code>', '<code>data-src=""</code>', '<code>href=""</code>' ) ; ?>
145
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cdn#include_file_types', __( 'Default value', 'litespeed-cache' ) ) ; ?>
146
 
147
  <br />
148
  <?php echo sprintf( __( 'If you turn any of the above settings OFF, please remove the related file types from the %s box.' ), '<b>' . __( 'Include File Types', 'litespeed-cache' ) . '</b>' ) ; ?>
149
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cdn#include_file_types' ) ; ?>
150
  </div>
151
 
152
  </td>
@@ -268,7 +268,7 @@ $this->form_action() ;
268
  <?php $this->build_input( Base::O_CDN_CLOUDFLARE_KEY ) ; ?>
269
  <div class="litespeed-desc">
270
  <?php echo sprintf( __( 'Your API key is used to access %s APIs.', 'litespeed-cache' ), 'Cloudflare' ) ; ?>
271
- <?php echo sprintf( __( 'Get it from <a %1$s>%2$s</a>.', 'litespeed-cache' ), 'href="https://www.cloudflare.com/a/profile" target="_blank"', 'Cloudflare' ) ; ?>
272
  </div>
273
  </div>
274
 
19
 
20
  <h3 class="litespeed-title-short">
21
  <?php echo __( 'CDN Settings', 'litespeed-cache' ) ; ?>
22
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cdn/', false, 'litespeed-learn-more' ) ; ?>
23
  </h3>
24
 
25
  <table class="wp-list-table striped litespeed-table"><tbody>
63
  <?php $this->title( $id ) ; ?>
64
  <button type="button" class="button button-link litespeed-collection-button litespeed-danger" data-litespeed-cdn-mapping-del="1" data-action="remove">
65
  <span class="dashicons dashicons-dismiss"></span>
66
+ <span class="screen-reader-text"><?php echo __( 'Remove CDN URL', 'litespeed-cache' ) ; ?></span>
67
  </button>
68
  </label>
69
 
117
  <?php endforeach ; ?>
118
 
119
  <p><button type="button" class="button button-link litespeed-form-action litespeed-link-with-icon" id="litespeed-cdn-mapping-add" data-action="add">
120
+ <span class="dashicons dashicons-plus-alt"></span><?php echo __( 'Add new CDN URL', 'litespeed-cache' );?>
121
  </button></p>
122
 
123
  <div class="litespeed-warning">
142
  <?php echo __( 'Static file type links to be replaced by CDN links.', 'litespeed-cache' ) ; ?>
143
  <?php Doc::one_per_line() ; ?>
144
  <?php echo sprintf( __( 'This will affect all tags containing attributes: %s %s %s.', 'litespeed-cache' ), '<code>src=""</code>', '<code>data-src=""</code>', '<code>href=""</code>' ) ; ?>
145
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cdn/#include-file-types', __( 'Default value', 'litespeed-cache' ) ) ; ?>
146
 
147
  <br />
148
  <?php echo sprintf( __( 'If you turn any of the above settings OFF, please remove the related file types from the %s box.' ), '<b>' . __( 'Include File Types', 'litespeed-cache' ) . '</b>' ) ; ?>
149
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cdn/#include-file-types' ) ; ?>
150
  </div>
151
 
152
  </td>
268
  <?php $this->build_input( Base::O_CDN_CLOUDFLARE_KEY ) ; ?>
269
  <div class="litespeed-desc">
270
  <?php echo sprintf( __( 'Your API key is used to access %s APIs.', 'litespeed-cache' ), 'Cloudflare' ) ; ?>
271
+ <?php echo sprintf( __( 'Get it from <a %1$s>%2$s</a>.', 'litespeed-cache' ), 'href="https://dash.cloudflare.com/profile/api-tokens" target="_blank"', 'Cloudflare' ) ; ?>
272
  </div>
273
  </div>
274
 
tpl/crawler/blacklist.tpl.php CHANGED
@@ -17,7 +17,10 @@ $pagination = Utility::pagination( $count, 30 );
17
  </a>
18
  </p>
19
 
20
- <h3 class="litespeed-title"><?php echo __( 'Blacklist', 'litespeed-cache' ); ?></h3>
 
 
 
21
 
22
  <?php echo __( 'Total', 'litespeed-cache' ) . ': ' . $count; ?>
23
 
17
  </a>
18
  </p>
19
 
20
+ <h3 class="litespeed-title">
21
+ <?php echo __( 'Blacklist', 'litespeed-cache' ); ?>
22
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#blacklist-tab', false, 'litespeed-learn-more' ); ?>
23
+ </h3>
24
 
25
  <?php echo __( 'Total', 'litespeed-cache' ) . ': ' . $count; ?>
26
 
tpl/crawler/map.tpl.php CHANGED
@@ -29,7 +29,10 @@ $pagination = Utility::pagination( $count, 30 );
29
  ?>
30
  </p>
31
 
32
- <h3 class="litespeed-title"><?php echo __( 'Sitemap List', 'litespeed-cache' ); ?></h3>
 
 
 
33
 
34
  <?php echo __( 'Sitemap Total', 'litespeed-cache' ) . ': ' . $count; ?>
35
 
29
  ?>
30
  </p>
31
 
32
+ <h3 class="litespeed-title">
33
+ <?php echo __( 'Sitemap List', 'litespeed-cache' ); ?>
34
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#map-tab', false, 'litespeed-learn-more' ); ?>
35
+ </h3>
36
 
37
  <?php echo __( 'Sitemap Total', 'litespeed-cache' ) . ': ' . $count; ?>
38
 
tpl/crawler/settings-general.tpl.php CHANGED
@@ -7,7 +7,7 @@ $this->form_action();
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __('Crawler General Settings', 'litespeed-cache'); ?>
10
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:crawler', false, 'litespeed-learn-more' ); ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __('Crawler General Settings', 'litespeed-cache'); ?>
10
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#general-settings-tab', false, 'litespeed-learn-more' ); ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/crawler/settings-simulation.tpl.php CHANGED
@@ -7,7 +7,7 @@ $this->form_action();
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __('Crawler Simulation Settings', 'litespeed-cache'); ?>
10
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:crawler', false, 'litespeed-learn-more' ); ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -102,7 +102,7 @@ $this->form_action();
102
 
103
  <div class="litespeed-desc">
104
  <?php echo __('To crawl for a particular cookie, enter the cookie name, and the values you wish to crawl for. Values should be one per line, and can include a blank line. There will be one crawler created per cookie value, per simulated role.', 'litespeed-cache'); ?>
105
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:crawler#cookie_simulation' ); ?>
106
  <p><?php echo sprintf( __( 'Use %1$s in %2$s to indicate this cookie has not been set.', 'litespeed-cache' ), '<code>_null</code>', __( 'Cookie Values', 'litespeed-cache' ) ); ?></p>
107
  </div>
108
 
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __('Crawler Simulation Settings', 'litespeed-cache'); ?>
10
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#simulation-settings-tab', false, 'litespeed-learn-more' ); ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
102
 
103
  <div class="litespeed-desc">
104
  <?php echo __('To crawl for a particular cookie, enter the cookie name, and the values you wish to crawl for. Values should be one per line, and can include a blank line. There will be one crawler created per cookie value, per simulated role.', 'litespeed-cache'); ?>
105
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#cookie-simulation' ); ?>
106
  <p><?php echo sprintf( __( 'Use %1$s in %2$s to indicate this cookie has not been set.', 'litespeed-cache' ), '<code>_null</code>', __( 'Cookie Values', 'litespeed-cache' ) ); ?></p>
107
  </div>
108
 
tpl/crawler/settings-sitemap.tpl.php CHANGED
@@ -7,7 +7,7 @@ $this->form_action();
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __('Crawler Sitemap Settings', 'litespeed-cache'); ?>
10
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:crawler', false, 'litespeed-learn-more' ); ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __('Crawler Sitemap Settings', 'litespeed-cache'); ?>
10
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#sitemap-settings-tab', false, 'litespeed-learn-more' ); ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/crawler/summary.tpl.php CHANGED
@@ -40,12 +40,14 @@ if($seconds > 0):
40
 
41
  <h3 class="litespeed-title litespeed-relative">
42
  <?php echo __('Crawler Cron', 'litespeed-cache'); ?>
 
43
  </h3>
 
44
  <?php if ( ! Router::can_crawl() ): ?>
45
  <div class="litespeed-callout notice notice-error inline">
46
  <h4><?php echo __('WARNING', 'litespeed-cache'); ?></h4>
47
  <p><?php echo __('The crawler feature is not enabled on the LiteSpeed server. Please consult your server admin.', 'litespeed-cache'); ?></p>
48
- <p><?php echo sprintf(__('See <a %s>Introduction for Enabling the Crawler</a> for detailed information.', 'litespeed-cache'), 'href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:enabling_the_crawler" target="_blank"'); ?></p>
49
  </div>
50
  <?php endif; ?>
51
 
@@ -181,7 +183,7 @@ if($seconds > 0):
181
  <div class="litespeed-desc">
182
  <div><?php echo __('Run frequency is set by the Interval Between Runs setting.','litespeed-cache'); ?></div>
183
  <div><?php echo __('Crawlers cannot run concurrently.', 'litespeed-cache')
184
- . __('If both the cron and a manual run start at similar times, the first to be started will take precedence.','litespeed-cache'); ?></div>
185
  <div><?php echo sprintf(__('Please see <a %s>Hooking WP-Cron Into the System Task Scheduler</a> to learn how to create the system cron task.','litespeed-cache'), ' href="https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/" target="_blank" '); ?></div>
186
  </div>
187
  <?php endif; ?>
40
 
41
  <h3 class="litespeed-title litespeed-relative">
42
  <?php echo __('Crawler Cron', 'litespeed-cache'); ?>
43
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/', false, 'litespeed-learn-more' ); ?>
44
  </h3>
45
+
46
  <?php if ( ! Router::can_crawl() ): ?>
47
  <div class="litespeed-callout notice notice-error inline">
48
  <h4><?php echo __('WARNING', 'litespeed-cache'); ?></h4>
49
  <p><?php echo __('The crawler feature is not enabled on the LiteSpeed server. Please consult your server admin.', 'litespeed-cache'); ?></p>
50
+ <p><?php echo sprintf(__('See <a %s>Introduction for Enabling the Crawler</a> for detailed information.', 'litespeed-cache'), 'href="https://docs.litespeedtech.com/lscache/lscwp/admin/#enabling-and-limiting-the-crawler" target="_blank"'); ?></p>
51
  </div>
52
  <?php endif; ?>
53
 
183
  <div class="litespeed-desc">
184
  <div><?php echo __('Run frequency is set by the Interval Between Runs setting.','litespeed-cache'); ?></div>
185
  <div><?php echo __('Crawlers cannot run concurrently.', 'litespeed-cache')
186
+ . __('&nbsp;If both the cron and a manual run start at similar times, the first to be started will take precedence.','litespeed-cache'); ?></div>
187
  <div><?php echo sprintf(__('Please see <a %s>Hooking WP-Cron Into the System Task Scheduler</a> to learn how to create the system cron task.','litespeed-cache'), ' href="https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/" target="_blank" '); ?></div>
188
  </div>
189
  <?php endif; ?>
tpl/dash/dashboard.tpl.php CHANGED
@@ -43,7 +43,7 @@ $placeholder_summary = Placeholder::get_summary();
43
  </a>
44
  </h3>
45
  <hr>
46
- <a href="#" target="_blank" class="litespeed-learn-more"><?php echo __( 'Learn More', 'litespeed-cache' );?></a>
47
  </div>
48
 
49
  <div class="litespeed-dashboard-stats-wrapper">
43
  </a>
44
  </h3>
45
  <hr>
46
+ <a href="https://docs.litespeedtech.com/lscache/lscwp/dashboard/#usage-statistics" target="_blank" class="litespeed-learn-more"><?php echo __( 'Learn More', 'litespeed-cache' );?></a>
47
  </div>
48
 
49
  <div class="litespeed-dashboard-stats-wrapper">
tpl/db_optm/entry.tpl.php CHANGED
@@ -14,7 +14,7 @@ if ( ! $this->_is_network_admin ) {
14
 
15
  <div class="wrap">
16
  <h1 class="litespeed-h1">
17
- <?php echo __( 'LiteSpeed Cache DataBase Optimization', 'litespeed-cache' ); ?>
18
  </h1>
19
  <span class="litespeed-desc">
20
  v<?php echo Core::VER; ?>
14
 
15
  <div class="wrap">
16
  <h1 class="litespeed-h1">
17
+ <?php echo __( 'LiteSpeed Cache Database Optimization', 'litespeed-cache' ); ?>
18
  </h1>
19
  <span class="litespeed-desc">
20
  v<?php echo Core::VER; ?>
tpl/db_optm/manage.tpl.php CHANGED
@@ -74,7 +74,10 @@ $autoload_summary = DB_Optm::get_instance()->autoload_summary();
74
 
75
  ?>
76
 
77
- <h3 class="litespeed-title"><?php echo __('Database Optimizer', 'litespeed-cache'); ?></h3>
 
 
 
78
 
79
  <div class="litespeed-panel-wrapper litespeed-cards-wrapper">
80
 
74
 
75
  ?>
76
 
77
+ <h3 class="litespeed-title">
78
+ <?php echo __('Database Optimizer', 'litespeed-cache'); ?>
79
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/database/', false, 'litespeed-learn-more' ); ?>
80
+ </h3>
81
 
82
  <div class="litespeed-panel-wrapper litespeed-cards-wrapper">
83
 
tpl/db_optm/settings.tpl.php CHANGED
@@ -8,7 +8,7 @@ $this->form_action();
8
 
9
  <h3 class="litespeed-title-short">
10
  <?php echo __( 'DB Optimization Settings', 'litespeed-cache' ); ?>
11
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:db_optm', false, 'litespeed-learn-more' ); ?>
12
  </h3>
13
 
14
  <table class="wp-list-table striped litespeed-table"><tbody>
8
 
9
  <h3 class="litespeed-title-short">
10
  <?php echo __( 'DB Optimization Settings', 'litespeed-cache' ); ?>
11
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/database/#db-optimization-settings-tab', false, 'litespeed-learn-more' ); ?>
12
  </h3>
13
 
14
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/general/network_settings.tpl.php CHANGED
@@ -6,7 +6,7 @@ defined( 'WPINC' ) || exit;
6
 
7
  <h3 class="litespeed-title-short">
8
  <?php echo __( 'General Settings', 'litespeed-cache' ); ?>
9
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:general', false, 'litespeed-learn-more' ); ?>
10
  </h3>
11
 
12
  <?php
6
 
7
  <h3 class="litespeed-title-short">
8
  <?php echo __( 'General Settings', 'litespeed-cache' ); ?>
9
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/general/', false, 'litespeed-learn-more' ); ?>
10
  </h3>
11
 
12
  <?php
tpl/general/settings.tpl.php CHANGED
@@ -43,7 +43,7 @@ $this->form_action();
43
 
44
  <h3 class="litespeed-title-short">
45
  <?php echo __( 'General Settings', 'litespeed-cache' ); ?>
46
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:general', false, 'litespeed-learn-more' ); ?>
47
  </h3>
48
 
49
  <table class="wp-list-table striped litespeed-table"><tbody>
43
 
44
  <h3 class="litespeed-title-short">
45
  <?php echo __( 'General Settings', 'litespeed-cache' ); ?>
46
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/general/', false, 'litespeed-learn-more' ); ?>
47
  </h3>
48
 
49
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/img_optm/network_settings.tpl.php CHANGED
@@ -7,7 +7,7 @@ $this->form_action( Router::ACTION_SAVE_SETTINGS_NETWORK ) ;
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __( 'Image Optimization Settings', 'litespeed-cache' ) ; ?>
10
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media', false, 'litespeed-learn-more' ) ; ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __( 'Image Optimization Settings', 'litespeed-cache' ) ; ?>
10
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/imageopt/#image-optimization-settings-tab', false, 'litespeed-learn-more' ) ; ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/img_optm/settings.tpl.php CHANGED
@@ -7,7 +7,7 @@ $this->form_action() ;
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __( 'Image Optimization Settings', 'litespeed-cache' ) ; ?>
10
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media', false, 'litespeed-learn-more' ) ; ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -33,7 +33,7 @@ $this->form_action() ;
33
  <td>
34
  <?php $this->build_switch( $id ) ; ?>
35
  <div class="litespeed-desc">
36
- <?php echo __( 'Disabling this will stop the cron job responsible for pulling optimized images back from Cloud Image Server.', 'litespeed-cache' ) ; ?>
37
  </div>
38
  </td>
39
  </tr>
@@ -153,7 +153,7 @@ $this->form_action() ;
153
  <?php $this->build_switch( $id ) ; ?>
154
  <div class="litespeed-desc">
155
  <?php echo sprintf( __( 'Enable replacement of WebP in %s elements that were generated outside of WordPress logic.', 'litespeed-cache' ), '<code>srcset</code>' ) ; ?>
156
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media#webp_for_extra_srcset' ) ; ?>
157
  </div>
158
  </td>
159
  </tr>
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __( 'Image Optimization Settings', 'litespeed-cache' ) ; ?>
10
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/imageopt/#image-optimization-settings-tab', false, 'litespeed-learn-more' ) ; ?>
11
  </h3>
12
 
13
  <table class="wp-list-table striped litespeed-table"><tbody>
33
  <td>
34
  <?php $this->build_switch( $id ) ; ?>
35
  <div class="litespeed-desc">
36
+ <?php echo __( 'Disabling this will stop the cron job responsible for pulling optimized images back from QUIC.cloud Image Server.', 'litespeed-cache' ) ; ?>
37
  </div>
38
  </td>
39
  </tr>
153
  <?php $this->build_switch( $id ) ; ?>
154
  <div class="litespeed-desc">
155
  <?php echo sprintf( __( 'Enable replacement of WebP in %s elements that were generated outside of WordPress logic.', 'litespeed-cache' ), '<code>srcset</code>' ) ; ?>
156
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/imageopt/#webp-for-extra-srcset' ) ; ?>
157
  </div>
158
  </td>
159
  </tr>
tpl/img_optm/summary.tpl.php CHANGED
@@ -52,8 +52,8 @@ if ( ! empty( $img_count[ 'img.' . Img_Optm::STATUS_ERR_FETCH ] ) ) {
52
  <?php else : ?>
53
  <span class="litespeed-quic-icon"></span>
54
  <?php endif ; ?>
55
- <?php echo __('Optimize images with our cloud server', 'litespeed-cache' );?>
56
- <a href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:image-optimization#image_optimization_in_litespeed_cache_for_wordpress" target="_blank" class="litespeed-right litespeed-learn-more"><?php echo __('Learn More', 'litespeed-cache') ; ?></a>
57
  </h3>
58
 
59
  <p>
@@ -93,7 +93,7 @@ if ( ! empty( $img_count[ 'img.' . Img_Optm::STATUS_ERR_FETCH ] ) ) {
93
  <h3 class="litespeed-title-section">
94
  <?php echo __( 'Optimization Status', 'litespeed-cache' ) ; ?>
95
  <?php if ( ! empty( $img_count[ 'group.' . Img_Optm::STATUS_RAW ] ) ) : ?>
96
- <a href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:image-optimization#image_optimization_in_litespeed_cache_for_wordpress" target="_blank" class="litespeed-learn-more"><?php echo __('Learn More', 'litespeed-cache') ; ?></a>
97
  <?php endif; ?>
98
  </h3>
99
 
@@ -108,7 +108,7 @@ if ( ! empty( $img_count[ 'img.' . Img_Optm::STATUS_ERR_FETCH ] ) ) {
108
  </code>
109
  </p>
110
  <p class="litespeed-desc">
111
- <?php echo __( 'After LiteSpeed\'s Image Optimization Server finishes optimization, it will notify your site to pull the optimized images.', 'litespeed-cache' ) ; ?>
112
  <?php echo __( 'This process is automatic.', 'litespeed-cache' ) ; ?>
113
  </p>
114
  <?php endif ; ?>
@@ -213,7 +213,7 @@ if ( ! empty( $img_count[ 'img.' . Img_Optm::STATUS_ERR_FETCH ] ) ) {
213
  </div>
214
 
215
  <div>
216
- <h4><?php echo __( 'Thumbnail Size Set', 'litespeed-cache' ) ; ?></h4>
217
  <div class="litespeed-desc litespeed-left20">
218
  <?php foreach ( Media::get_instance()->get_image_sizes() as $title => $size ) {
219
  echo "<div>$title ( " . ( $size[ 'width' ] ? $size[ 'width' ] . 'px' : '*' ) . ' x ' . ( $size[ 'height' ] ? $size[ 'height' ] . 'px' : '*' ) . ' )</div>';
@@ -271,7 +271,7 @@ if ( ! empty( $img_count[ 'img.' . Img_Optm::STATUS_ERR_FETCH ] ) ) {
271
 
272
  <code><?php echo Admin_Display::print_plural( $img_count[ 'groups_all' ] ) ; ?></code>
273
 
274
- <a href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:image-optimization:image-groups" target="_blank" class="litespeed-desc litespeed-help-btn-icon" data-balloon-pos="up" aria-label="<?php echo __( 'What is a group?', 'litespeed-cache') ; ?>">
275
  <span class="dashicons dashicons-editor-help"></span>
276
  <span class="screen-reader-text"><?php echo __( 'What is an image group?', 'litespeed-cache' );?></span>
277
  </a>
@@ -298,7 +298,7 @@ if ( ! empty( $img_count[ 'img.' . Img_Optm::STATUS_ERR_FETCH ] ) ) {
298
 
299
  <code><?php echo Admin_Display::print_plural( $img_count[ 'imgs_gathered' ], 'image' ) ; ?></code>
300
 
301
- <a href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:image-optimization:image-groups" target="_blank" class="litespeed-desc litespeed-help-btn-icon" data-balloon-pos="up" aria-label="<?php echo __( 'What is a group?', 'litespeed-cache') ; ?>">
302
  <span class="dashicons dashicons-editor-help"></span>
303
  <span class="screen-reader-text"><?php echo __( 'What is an image group?', 'litespeed-cache' );?></span>
304
  </a>
52
  <?php else : ?>
53
  <span class="litespeed-quic-icon"></span>
54
  <?php endif ; ?>
55
+ <?php echo __('Optimize images with our QUIC.cloud server', 'litespeed-cache' );?>
56
+ <a href="https://docs.litespeedtech.com/lscache/lscwp/imageopt/#image-optimization-summary-tab" target="_blank" class="litespeed-right litespeed-learn-more"><?php echo __('Learn More', 'litespeed-cache') ; ?></a>
57
  </h3>
58
 
59
  <p>
93
  <h3 class="litespeed-title-section">
94
  <?php echo __( 'Optimization Status', 'litespeed-cache' ) ; ?>
95
  <?php if ( ! empty( $img_count[ 'group.' . Img_Optm::STATUS_RAW ] ) ) : ?>
96
+ <a href="https://docs.litespeedtech.com/lscache/lscwp/imageopt/#optimization-summary" target="_blank" class="litespeed-learn-more"><?php echo __('Learn More', 'litespeed-cache') ; ?></a>
97
  <?php endif; ?>
98
  </h3>
99
 
108
  </code>
109
  </p>
110
  <p class="litespeed-desc">
111
+ <?php echo __( 'After the QUIC.cloud Image Optimization server finishes optimization, it will notify your site to pull the optimized images.', 'litespeed-cache' ) ; ?>
112
  <?php echo __( 'This process is automatic.', 'litespeed-cache' ) ; ?>
113
  </p>
114
  <?php endif ; ?>
213
  </div>
214
 
215
  <div>
216
+ <h4><?php echo __( 'Image Thumbnail Group Sizes', 'litespeed-cache' ) ; ?></h4>
217
  <div class="litespeed-desc litespeed-left20">
218
  <?php foreach ( Media::get_instance()->get_image_sizes() as $title => $size ) {
219
  echo "<div>$title ( " . ( $size[ 'width' ] ? $size[ 'width' ] . 'px' : '*' ) . ' x ' . ( $size[ 'height' ] ? $size[ 'height' ] . 'px' : '*' ) . ' )</div>';
271
 
272
  <code><?php echo Admin_Display::print_plural( $img_count[ 'groups_all' ] ) ; ?></code>
273
 
274
+ <a href="https://docs.litespeedtech.com/lscache/lscwp/imageopt/#what-is-an-image-group" target="_blank" class="litespeed-desc litespeed-help-btn-icon" data-balloon-pos="up" aria-label="<?php echo __( 'What is a group?', 'litespeed-cache') ; ?>">
275
  <span class="dashicons dashicons-editor-help"></span>
276
  <span class="screen-reader-text"><?php echo __( 'What is an image group?', 'litespeed-cache' );?></span>
277
  </a>
298
 
299
  <code><?php echo Admin_Display::print_plural( $img_count[ 'imgs_gathered' ], 'image' ) ; ?></code>
300
 
301
+ <a href="https://docs.litespeedtech.com/lscache/lscwp/imageopt/#what-is-an-image-group" target="_blank" class="litespeed-desc litespeed-help-btn-icon" data-balloon-pos="up" aria-label="<?php echo __( 'What is a group?', 'litespeed-cache') ; ?>">
302
  <span class="dashicons dashicons-editor-help"></span>
303
  <span class="screen-reader-text"><?php echo __( 'What is an image group?', 'litespeed-cache' );?></span>
304
  </a>
tpl/inc/check_cache_disabled.php CHANGED
@@ -8,19 +8,19 @@ if ( ! defined( 'LITESPEED_ALLOWED' ) ) {
8
  if ( defined( 'LITESPEED_SERVER_TYPE' ) && LITESPEED_SERVER_TYPE == 'NONE' ) {
9
  $reasons[] = array(
10
  'title' => __( 'To use the caching functions you must have a LiteSpeed web server or be using QUIC.cloud CDN.', 'litespeed-cache' ),
11
- 'link' => 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp#requirements',
12
  ) ;
13
  } else {
14
  $reasons[] = array(
15
  'title' => __( 'Please enable the LSCache Module at the server level, or ask your hosting provider.', 'litespeed-cache' ),
16
- 'link' => 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:installation',
17
  ) ;
18
  }
19
  }
20
  elseif ( ! defined( 'LITESPEED_ON' ) ) {
21
  $reasons[] = array(
22
  'title' => __( 'Please enable LiteSpeed Cache in the plugin settings.', 'litespeed-cache' ) ,
23
- 'link' => 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:general#enable_litespeed_cache',
24
  ) ;
25
  }
26
 
@@ -31,7 +31,7 @@ if ( $reasons ) :
31
  <h4><?php echo __( 'WARNING', 'litespeed-cache' ) ; ?></h4>
32
 
33
  <p>
34
- <?php echo __( 'Caching functions on this page are currently unavailable!', 'litespeed-cache' ) ; ?>
35
  </p>
36
 
37
  <ul class="litespeed-list">
8
  if ( defined( 'LITESPEED_SERVER_TYPE' ) && LITESPEED_SERVER_TYPE == 'NONE' ) {
9
  $reasons[] = array(
10
  'title' => __( 'To use the caching functions you must have a LiteSpeed web server or be using QUIC.cloud CDN.', 'litespeed-cache' ),
11
+ 'link' => 'https://docs.litespeedtech.com/lscache/lscwp/faq/#why-do-the-cache-features-require-a-litespeed-server',
12
  ) ;
13
  } else {
14
  $reasons[] = array(
15
  'title' => __( 'Please enable the LSCache Module at the server level, or ask your hosting provider.', 'litespeed-cache' ),
16
+ 'link' => 'https://docs.litespeedtech.com/lscache/lscwp/overview/#prerequisites',
17
  ) ;
18
  }
19
  }
20
  elseif ( ! defined( 'LITESPEED_ON' ) ) {
21
  $reasons[] = array(
22
  'title' => __( 'Please enable LiteSpeed Cache in the plugin settings.', 'litespeed-cache' ) ,
23
+ 'link' => 'https://docs.litespeedtech.com/lscache/lscwp/cache/#enable-cache',
24
  ) ;
25
  }
26
 
31
  <h4><?php echo __( 'WARNING', 'litespeed-cache' ) ; ?></h4>
32
 
33
  <p>
34
+ <?php echo __( 'LSCache caching functions on this page are currently unavailable!', 'litespeed-cache' ) ; ?>
35
  </p>
36
 
37
  <ul class="litespeed-list">
tpl/inc/help_tabs.php CHANGED
@@ -8,8 +8,8 @@ defined( 'WPINC' ) || exit ;
8
  'title' => __('Overview', 'litespeed-cache'),
9
  'content' => '<p>'
10
  . __('LiteSpeed Cache is a page cache built into LiteSpeed Web Server.', 'litespeed-cache') . ' '
11
- . __('This plugin communicates with LiteSpeed Web Server to let it know which pages are cacheable and when to purge them.', 'litespeed-cache')
12
- . '</p><p>' . __('A LiteSpeed server (OLS, LSWS, WebADC) and its LSCache module must be installed and enabled.', 'litespeed-cache')
13
  . '</p>',
14
  ));
15
 
8
  'title' => __('Overview', 'litespeed-cache'),
9
  'content' => '<p>'
10
  . __('LiteSpeed Cache is a page cache built into LiteSpeed Web Server.', 'litespeed-cache') . ' '
11
+ . __('This plugin communicates with a LiteSpeed or QUIC.cloud server to let it know which pages are cacheable and when to purge them.', 'litespeed-cache')
12
+ . '</p><p>' . __('A LiteSpeed server (OLS, LSWS, WebADC) and its LSCache module must be installed and enabled unless using QUIC.cloud services or other optimization features.', 'litespeed-cache')
13
  . '</p>',
14
  ));
15
 
tpl/inc/show_rule_conflict.php CHANGED
@@ -3,10 +3,10 @@ namespace LiteSpeed ;
3
  defined( 'WPINC' ) || exit ;
4
 
5
 
6
- $err = sprintf( __( 'Unexpected cache rule %2$s found in %1$s file. This rule may cause visitors to see old versions of pages due to the browser caching html pages. If you are sure that html pages are not being browser cached, this message can be dismissed. (<a %3$s>Learn More</a>)', 'litespeed-cache' ),
7
  '.htaccess',
8
  '`ExpiresDefault`',
9
- 'href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:troubleshooting:browser_displays_stale_content" target="_blank"'
10
  );
11
 
12
  // other plugin left cache expired rules in .htaccess which will cause conflicts
3
  defined( 'WPINC' ) || exit ;
4
 
5
 
6
+ $err = sprintf( __( 'Unexpected cache rule %2$s found in %1$s file. This rule may cause visitors to see old versions of pages due to the browser caching HTML pages. If you are sure that HTML pages are not being browser cached, this message can be dismissed. (<a %3$s>Learn More</a>)', 'litespeed-cache' ),
7
  '.htaccess',
8
  '`ExpiresDefault`',
9
+ 'href="https://docs.litespeedtech.com/lscache/lscwp/troubleshoot/#browser-displays-stale-content" target="_blank"'
10
  );
11
 
12
  // other plugin left cache expired rules in .htaccess which will cause conflicts
tpl/page_optm/settings_css.tpl.php CHANGED
@@ -9,7 +9,7 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_CCSS );
9
 
10
  <h3 class="litespeed-title-short">
11
  <?php echo __( 'CSS Settings', 'litespeed-cache' ); ?>
12
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:css', false, 'litespeed-learn-more' ); ?>
13
  </h3>
14
 
15
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -36,7 +36,26 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_CCSS );
36
  <?php $this->build_switch( $id ); ?>
37
  <div class="litespeed-desc">
38
  <?php echo __( 'Combine CSS files.', 'litespeed-cache' ); ?>
39
- <a href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:optimize-issue" target="_blank"><?php echo __( 'How to Fix Problems Caused by CSS/JS Optimization.', 'litespeed-cache' ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  </div>
41
  </td>
42
  </tr>
@@ -103,7 +122,7 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_CCSS );
103
  <div class="litespeed-desc">
104
  <?php echo __( 'Automatically generate critical CSS in the background via a cron-based queue.', 'litespeed-cache' ); ?>
105
  <?php echo sprintf( __( 'If set to %s this is done in the foreground, which may slow down page load.', 'litespeed-cache' ), '<code>' . __('OFF', 'litespeed-cache') . '</code>' ); ?>
106
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:optimize#generate_critical_css' ); ?>
107
  </div>
108
 
109
  <?php if ( $css_summary ) : ?>
@@ -152,7 +171,7 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_CCSS );
152
  <div class="litespeed-desc">
153
  <?php echo __('List post types where each item of that type should have its own CCSS generated.', 'litespeed-cache'); ?>
154
  <?php echo sprintf( __( 'For example, if every Page on the site has different formatting, enter %s in the box. Separate critical CSS files will be stored for every Page on the site.', 'litespeed-cache' ), '<code>page</code>' ); ?>
155
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:optimize#separate_ccss_cache_post_types' ); ?>
156
  </div>
157
  </td>
158
  </tr>
9
 
10
  <h3 class="litespeed-title-short">
11
  <?php echo __( 'CSS Settings', 'litespeed-cache' ); ?>
12
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/', false, 'litespeed-learn-more' ); ?>
13
  </h3>
14
 
15
  <table class="wp-list-table striped litespeed-table"><tbody>
36
  <?php $this->build_switch( $id ); ?>
37
  <div class="litespeed-desc">
38
  <?php echo __( 'Combine CSS files.', 'litespeed-cache' ); ?>
39
+ <a href="https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/" target="_blank"><?php echo __( 'How to Fix Problems Caused by CSS/JS Optimization.', 'litespeed-cache' ); ?></a>
40
+ </div>
41
+ </td>
42
+ </tr>
43
+
44
+ <tr>
45
+ <th>
46
+ <?php $id = Base::O_OPTM_CSS_UNIQUE; ?>
47
+ <?php $this->title( $id ); ?>
48
+ </th>
49
+ <td>
50
+ <?php $this->build_switch( $id ); ?>
51
+ <div class="litespeed-desc">
52
+ <?php echo sprintf( __( 'When having %1$s %2$s, enabling this will get one combined CSS file for each URI, regardless of the setting %3$s.', 'litespeed-cache' ),
53
+ '<code>' . Lang::title( Base::O_OPTM_CSS_COMB ) . '</code>',
54
+ '<code>' . __( 'ON', 'litespeed-cache' ) . '</code>',
55
+ '<code>' . Lang::title( Base::O_OPTM_MAX_SIZE ) . '</code>' ); ?>
56
+ </div>
57
+ <div class="litespeed-desc">
58
+ <?php echo __( 'This is useful when you want to refine/lint your CSS and further drop the unused CSS per page.', 'litespeed-cache' ); ?>
59
  </div>
60
  </td>
61
  </tr>
122
  <div class="litespeed-desc">
123
  <?php echo __( 'Automatically generate critical CSS in the background via a cron-based queue.', 'litespeed-cache' ); ?>
124
  <?php echo sprintf( __( 'If set to %s this is done in the foreground, which may slow down page load.', 'litespeed-cache' ), '<code>' . __('OFF', 'litespeed-cache') . '</code>' ); ?>
125
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#generate-critical-css-in-the-background' ); ?>
126
  </div>
127
 
128
  <?php if ( $css_summary ) : ?>
171
  <div class="litespeed-desc">
172
  <?php echo __('List post types where each item of that type should have its own CCSS generated.', 'litespeed-cache'); ?>
173
  <?php echo sprintf( __( 'For example, if every Page on the site has different formatting, enter %s in the box. Separate critical CSS files will be stored for every Page on the site.', 'litespeed-cache' ), '<code>page</code>' ); ?>
174
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#separate-ccss-cache-post-types' ); ?>
175
  </div>
176
  </td>
177
  </tr>
tpl/page_optm/settings_discussion.tpl.php CHANGED
@@ -15,7 +15,7 @@ $avatar_queue = Avatar::get_instance()->queue_count();
15
 
16
  <h3 class="litespeed-title-short">
17
  <?php echo __( 'Discussion Settings', 'litespeed-cache' ) ; ?>
18
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:discussion', false, 'litespeed-learn-more' ) ; ?>
19
  </h3>
20
 
21
  <table class="wp-list-table striped litespeed-table"><tbody>
15
 
16
  <h3 class="litespeed-title-short">
17
  <?php echo __( 'Discussion Settings', 'litespeed-cache' ) ; ?>
18
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#discussion-settings-tab', false, 'litespeed-learn-more' ) ; ?>
19
  </h3>
20
 
21
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/page_optm/settings_html.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit ;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Optimization Settings', 'litespeed-cache' ) ; ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:optimize', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -72,10 +72,10 @@ defined( 'WPINC' ) || exit ;
72
  <td>
73
  <?php $this->build_textarea( $id ) ; ?>
74
  <div class="litespeed-desc">
75
- <?php echo __( 'Prefetching DNS can reduce latency for visiters.', 'litespeed-cache' ) ; ?>
76
  <?php echo __( 'For example', 'litespeed-cache' ) ; ?>: <code>//www.example.com</code>
77
  <?php Doc::one_per_line() ; ?>
78
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:optimize#dns_prefetch' ) ; ?>
79
  </div>
80
  </td>
81
  </tr>
@@ -139,9 +139,9 @@ defined( 'WPINC' ) || exit ;
139
  <td>
140
  <?php $this->build_switch( $id ) ; ?>
141
  <div class="litespeed-desc">
142
- <?php echo __( 'Use Web Font Loader library to load Google Fonts asynchronously while leave other CSS intact.', 'litespeed-cache' ) ; ?>
143
  <?php echo __( 'This will also add a preconnect to Google for faster Google Fonts downloading.', 'litespeed-cache' ) ; ?>
144
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:tuning:google-fonts' ) ; ?>
145
  </div>
146
  </td>
147
  </tr>
@@ -167,7 +167,7 @@ defined( 'WPINC' ) || exit ;
167
  <td>
168
  <?php $this->build_switch( $id ) ; ?>
169
  <div class="litespeed-desc">
170
- <?php echo __( 'Stop loading wordpress.org emoji. Browser default emoji will be displayed instead.', 'litespeed-cache' ) ; ?>
171
  <?php echo __( 'This can improve your speed score in services like Pingdom, GTmetrix and PageSpeed.', 'litespeed-cache' ) ; ?>
172
  </div>
173
  </td>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Optimization Settings', 'litespeed-cache' ) ; ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#optimization-settings-tab', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
72
  <td>
73
  <?php $this->build_textarea( $id ) ; ?>
74
  <div class="litespeed-desc">
75
+ <?php echo __( 'Prefetching DNS can reduce latency for visitors.', 'litespeed-cache' ) ; ?>
76
  <?php echo __( 'For example', 'litespeed-cache' ) ; ?>: <code>//www.example.com</code>
77
  <?php Doc::one_per_line() ; ?>
78
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#dns-prefetch' ) ; ?>
79
  </div>
80
  </td>
81
  </tr>
139
  <td>
140
  <?php $this->build_switch( $id ) ; ?>
141
  <div class="litespeed-desc">
142
+ <?php echo __( 'Use Web Font Loader library to load Google Fonts asynchronously while leaving other CSS intact.', 'litespeed-cache' ) ; ?>
143
  <?php echo __( 'This will also add a preconnect to Google for faster Google Fonts downloading.', 'litespeed-cache' ) ; ?>
144
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#load-google-fonts-asynchronously' ) ; ?>
145
  </div>
146
  </td>
147
  </tr>
167
  <td>
168
  <?php $this->build_switch( $id ) ; ?>
169
  <div class="litespeed-desc">
170
+ <?php echo __( 'Stop loading WordPress.org emoji. Browser default emoji will be displayed instead.', 'litespeed-cache' ) ; ?>
171
  <?php echo __( 'This can improve your speed score in services like Pingdom, GTmetrix and PageSpeed.', 'litespeed-cache' ) ; ?>
172
  </div>
173
  </td>
tpl/page_optm/settings_js.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit ;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'JS Settings', 'litespeed-cache' ) ; ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:js', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -32,7 +32,7 @@ defined( 'WPINC' ) || exit ;
32
  <?php $this->build_switch( $id ) ; ?>
33
  <div class="litespeed-desc">
34
  <?php echo __( 'Combine JS files.', 'litespeed-cache' ) ; ?>
35
- <a href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:optimize-issue" target="_blank"><?php echo __( 'How to Fix Problems Caused by CSS/JS Optimization.', 'litespeed-cache' ) ; ?></a>
36
  </div>
37
  </td>
38
  </tr>
@@ -72,9 +72,8 @@ defined( 'WPINC' ) || exit ;
72
  <td>
73
  <?php $this->build_switch( $id, array( __( 'Default', 'litespeed-cache' ), __( 'After DOM Ready', 'litespeed-cache' ), __( 'Deferred', 'litespeed-cache' ) ) ); ?>
74
  <div class="litespeed-desc">
75
- <?php echo __( 'Load inline JS after DOM is fully loaded.', 'litespeed-cache' ) ; ?>
76
- <br /><?php echo __( 'This can increase JS compatibility and reduce JS error when the previous JS optimization features are enabled.', 'litespeed-cache' ) ; ?>
77
- <br /><?php echo sprintf( __( '%s is recommended.', 'litespeed-cache' ), '<code>' . __( 'Deferred', 'litespeed-cache' ) . '</code>' ); ?>
78
  </div>
79
  </td>
80
  </tr>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'JS Settings', 'litespeed-cache' ) ; ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#js-settings-tab', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
32
  <?php $this->build_switch( $id ) ; ?>
33
  <div class="litespeed-desc">
34
  <?php echo __( 'Combine JS files.', 'litespeed-cache' ) ; ?>
35
+ <a href="https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/" target="_blank"><?php echo __( 'How to Fix Problems Caused by CSS/JS Optimization.', 'litespeed-cache' ) ; ?></a>
36
  </div>
37
  </td>
38
  </tr>
72
  <td>
73
  <?php $this->build_switch( $id, array( __( 'Default', 'litespeed-cache' ), __( 'After DOM Ready', 'litespeed-cache' ), __( 'Deferred', 'litespeed-cache' ) ) ); ?>
74
  <div class="litespeed-desc">
75
+ <?php echo __( 'Loading inline JS after DOM is fully loaded can increase JS compatibility and reduce JS error when other JS optimization features are enabled.', 'litespeed-cache' ) ; ?>
76
+ <br /><?php echo sprintf( __( '%s is recommended although would cause the most issues for scripts that are placed inline to avoid being deferred.', 'litespeed-cache' ), '<code>' . __( 'Deferred', 'litespeed-cache' ) . '</code>' ); ?>
 
77
  </div>
78
  </td>
79
  </tr>
tpl/page_optm/settings_media.tpl.php CHANGED
@@ -10,7 +10,7 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_LQIP );
10
 
11
  <h3 class="litespeed-title-short">
12
  <?php echo __( 'Media Settings', 'litespeed-cache' ); ?>
13
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media', false, 'litespeed-learn-more' ); ?>
14
  </h3>
15
 
16
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -26,7 +26,7 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_LQIP );
26
  <?php echo __( 'This can improve page loading time by reducing initial HTTP requests.', 'litespeed-cache' ); ?>
27
  <br /><font class="litespeed-success">
28
  💡:
29
- <a href="https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media:lazy-load-style" target="_blank"><?php echo __('Adding Style to Your Lazy-Loaded Images', 'litespeed-cache'); ?></a>
30
  </font>
31
  </div>
32
  </td>
@@ -103,7 +103,7 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_LQIP );
103
  <div class="litespeed-desc">
104
  <?php echo __( 'Use QUIC.cloud LQIP (Low Quality Image Placeholder) generator service for responsive image previews while loading.', 'litespeed-cache' ); ?>
105
  <br /><?php echo __( 'Keep this off to use plain color placeholders.', 'litespeed-cache' ); ?>
106
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media#generate_responsive_placeholder_lqip' ); ?>
107
  </div>
108
  </td>
109
  </tr>
@@ -157,7 +157,7 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_LQIP );
157
  '<code>' . Lang::title( Base::O_MEDIA_PLACEHOLDER_RESP_SVG ) . '</code>'
158
  ); ?>
159
  <?php echo sprintf( __( 'If set to %s this is done in the foreground, which may slow down page load.', 'litespeed-cache' ), '<code>' . __('OFF', 'litespeed-cache') . '</code>' ); ?>
160
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media#generate_responsive_placeholder' ); ?>
161
  </div>
162
 
163
  <?php if ( $placeholder_summary ) : ?>
@@ -210,9 +210,9 @@ $closest_server = Cloud::get_summary( 'server.' . Cloud::SVC_LQIP );
210
  <td>
211
  <?php $this->build_switch( $id ); ?>
212
  <div class="litespeed-desc">
213
- <?php echo __( 'Include the lazy load image Javascript library inline.', 'litespeed-cache' ); ?>
214
  <?php echo __( 'This can improve your speed score in services like Pingdom, GTmetrix and PageSpeed.', 'litespeed-cache' ); ?>
215
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media#inline_lazy_load_images_library' ); ?>
216
  </div>
217
  </td>
218
  </tr>
10
 
11
  <h3 class="litespeed-title-short">
12
  <?php echo __( 'Media Settings', 'litespeed-cache' ); ?>
13
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#media-settings-tab', false, 'litespeed-learn-more' ); ?>
14
  </h3>
15
 
16
  <table class="wp-list-table striped litespeed-table"><tbody>
26
  <?php echo __( 'This can improve page loading time by reducing initial HTTP requests.', 'litespeed-cache' ); ?>
27
  <br /><font class="litespeed-success">
28
  💡:
29
+ <a href="https://docs.litespeedtech.com/lscache/lscwp/pageopt/#lazy-load-images" target="_blank"><?php echo __('Adding Style to Your Lazy-Loaded Images', 'litespeed-cache'); ?></a>
30
  </font>
31
  </div>
32
  </td>
103
  <div class="litespeed-desc">
104
  <?php echo __( 'Use QUIC.cloud LQIP (Low Quality Image Placeholder) generator service for responsive image previews while loading.', 'litespeed-cache' ); ?>
105
  <br /><?php echo __( 'Keep this off to use plain color placeholders.', 'litespeed-cache' ); ?>
106
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#lqip-cloud-generator' ); ?>
107
  </div>
108
  </td>
109
  </tr>
157
  '<code>' . Lang::title( Base::O_MEDIA_PLACEHOLDER_RESP_SVG ) . '</code>'
158
  ); ?>
159
  <?php echo sprintf( __( 'If set to %s this is done in the foreground, which may slow down page load.', 'litespeed-cache' ), '<code>' . __('OFF', 'litespeed-cache') . '</code>' ); ?>
160
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#generate-lqip-in-background' ); ?>
161
  </div>
162
 
163
  <?php if ( $placeholder_summary ) : ?>
210
  <td>
211
  <?php $this->build_switch( $id ); ?>
212
  <div class="litespeed-desc">
213
+ <?php echo __( 'Include the lazy load image JavaScript library inline.', 'litespeed-cache' ); ?>
214
  <?php echo __( 'This can improve your speed score in services like Pingdom, GTmetrix and PageSpeed.', 'litespeed-cache' ); ?>
215
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#inline-lazy-load-images-library' ); ?>
216
  </div>
217
  </td>
218
  </tr>
tpl/page_optm/settings_media_exc.tpl.php CHANGED
@@ -5,7 +5,7 @@ defined( 'WPINC' ) || exit ;
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Media Excludes', 'litespeed-cache' ) ; ?>
8
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:media', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
5
 
6
  <h3 class="litespeed-title-short">
7
  <?php echo __( 'Media Excludes', 'litespeed-cache' ) ; ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#media-excludes-tab', false, 'litespeed-learn-more' ) ; ?>
9
  </h3>
10
 
11
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/page_optm/settings_tuning.tpl.php CHANGED
@@ -16,7 +16,7 @@ ksort( $roles ) ;
16
  ?>
17
  <h3 class="litespeed-title-short">
18
  <?php echo __( 'Tuning Settings', 'litespeed-cache' ) ; ?>
19
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:tuning', false, 'litespeed-learn-more' ) ; ?>
20
  </h3>
21
 
22
  <table class="wp-list-table striped litespeed-table"><tbody>
16
  ?>
17
  <h3 class="litespeed-title-short">
18
  <?php echo __( 'Tuning Settings', 'litespeed-cache' ) ; ?>
19
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#tuning-settings-tab', false, 'litespeed-learn-more' ) ; ?>
20
  </h3>
21
 
22
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/toolbox/beta_test.tpl.php CHANGED
@@ -5,7 +5,10 @@ defined( 'WPINC' ) || exit ;
5
 
6
  <?php $this->form_action( Router::ACTION_DEBUG2, Debug2::TYPE_BETA_TEST ) ; ?>
7
 
8
- <h3 class="litespeed-title"><?php echo __( 'Try GitHub Version', 'litespeed-cache' ); ?></h3>
 
 
 
9
 
10
  <div class="litespeed-desc"><?php echo __( 'Use this section to switch plugin versions. To beta test a GitHub commit, enter the commit URL in the field below.', 'litespeed-cache' ); ?></div>
11
  <div class="litespeed-desc"><?php echo __( 'Example', 'litespeed-cache' ); ?>: <code>https://github.com/litespeedtech/lscache_wp/commit/253715525b1708c25f73460635f7eaf152448821</code></div>
@@ -16,7 +19,7 @@ defined( 'WPINC' ) || exit ;
16
 
17
  <p><a href="javascript:;" class="button litespeed-btn-success" onclick="document.getElementById('litespeed-beta-test').value='latest';"><?php echo __( 'Use latest WordPress release version', 'litespeed-cache' ); ?></a> <code><?php echo Debug2::BETA_TEST_URL_WP; ?></code> <?php echo __( 'OR', 'litespeed-cache' ) ?> <code>latest</code></p>
18
 
19
- <div class="litespeed-desc"><?php echo sprintf( __( 'Press the %s button to populate the field with the most recent GitHub commit.', 'litespeed-cache' ), '<code>' . __( 'Use latest GitHub commit', 'litespeed-cache' ) . '</code>' ); ?></div>
20
  <div class="litespeed-desc"><?php echo sprintf( __( 'Press the %s button to stop beta testing and go back to the current release from the WordPress Plugin Directory.', 'litespeed-cache' ), '<code>' . __( 'Use latest WordPress release version', 'litespeed-cache' ) . '</code>' ); ?></div>
21
 
22
  <button type="submit" class="button button-primary"><?php echo __('Upgrade', 'litespeed-cache'); ?></button>
5
 
6
  <?php $this->form_action( Router::ACTION_DEBUG2, Debug2::TYPE_BETA_TEST ) ; ?>
7
 
8
+ <h3 class="litespeed-title">
9
+ <?php echo __( 'Try GitHub Version', 'litespeed-cache' ); ?>
10
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#beta-test-tab', false, 'litespeed-learn-more' ); ?>
11
+ </h3>
12
 
13
  <div class="litespeed-desc"><?php echo __( 'Use this section to switch plugin versions. To beta test a GitHub commit, enter the commit URL in the field below.', 'litespeed-cache' ); ?></div>
14
  <div class="litespeed-desc"><?php echo __( 'Example', 'litespeed-cache' ); ?>: <code>https://github.com/litespeedtech/lscache_wp/commit/253715525b1708c25f73460635f7eaf152448821</code></div>
19
 
20
  <p><a href="javascript:;" class="button litespeed-btn-success" onclick="document.getElementById('litespeed-beta-test').value='latest';"><?php echo __( 'Use latest WordPress release version', 'litespeed-cache' ); ?></a> <code><?php echo Debug2::BETA_TEST_URL_WP; ?></code> <?php echo __( 'OR', 'litespeed-cache' ) ?> <code>latest</code></p>
21
 
22
+ <div class="litespeed-desc"><?php echo sprintf( __( 'Press the %s button to use the most recent GitHub commit.', 'litespeed-cache' ), '<code>' . __( 'Use latest GitHub commit', 'litespeed-cache' ) . '</code>' ); ?></div>
23
  <div class="litespeed-desc"><?php echo sprintf( __( 'Press the %s button to stop beta testing and go back to the current release from the WordPress Plugin Directory.', 'litespeed-cache' ), '<code>' . __( 'Use latest WordPress release version', 'litespeed-cache' ) . '</code>' ); ?></div>
24
 
25
  <button type="submit" class="button button-primary"><?php echo __('Upgrade', 'litespeed-cache'); ?></button>
tpl/toolbox/edit_htaccess.tpl.php CHANGED
@@ -37,6 +37,7 @@ if ( defined( 'LITESPEED_ON' ) ) {
37
 
38
  <h3 class="litespeed-title">
39
  <?php echo __('LiteSpeed Cache Edit .htaccess', 'litespeed-cache'); ?>
 
40
  </h3>
41
 
42
  <div class="litespeed-callout notice notice-error inline">
@@ -51,7 +52,6 @@ if ( defined( 'LITESPEED_ON' ) ) {
51
 
52
  <h3 class="litespeed-title-short">
53
  <?php echo __( '.htaccess Path Settings', 'litespeed-cache' ); ?>
54
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:tool', false, 'litespeed-learn-more' ); ?>
55
  </h3>
56
 
57
  <table class="wp-list-table striped litespeed-table"><tbody>
37
 
38
  <h3 class="litespeed-title">
39
  <?php echo __('LiteSpeed Cache Edit .htaccess', 'litespeed-cache'); ?>
40
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#edit-htaccess-tab', false, 'litespeed-learn-more' ); ?>
41
  </h3>
42
 
43
  <div class="litespeed-callout notice notice-error inline">
52
 
53
  <h3 class="litespeed-title-short">
54
  <?php echo __( '.htaccess Path Settings', 'litespeed-cache' ); ?>
 
55
  </h3>
56
 
57
  <table class="wp-list-table striped litespeed-table"><tbody>
tpl/toolbox/heartbeat.tpl.php CHANGED
@@ -7,7 +7,7 @@ $this->form_action() ;
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __( 'Heartbeat Control', 'litespeed-cache' ) ; ?>
10
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:heartbeat', false, 'litespeed-learn-more' ) ; ?>
11
  </h3>
12
 
13
  <div class="litespeed-callout notice notice-warning inline">
7
 
8
  <h3 class="litespeed-title-short">
9
  <?php echo __( 'Heartbeat Control', 'litespeed-cache' ) ; ?>
10
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#heartbeat-tab', false, 'litespeed-learn-more' ) ; ?>
11
  </h3>
12
 
13
  <div class="litespeed-callout notice notice-warning inline">
tpl/toolbox/import_export.tpl.php CHANGED
@@ -5,7 +5,10 @@ defined( 'WPINC' ) || exit;
5
  $summary = Import::get_summary();
6
  ?>
7
 
8
- <h3 class="litespeed-title"><?php echo __('Export Settings', 'litespeed-cache') ; ?></h3>
 
 
 
9
 
10
  <div><a href="<?php echo Utility::build_url( Router::ACTION_IMPORT, Import::TYPE_EXPORT ) ; ?>" class="button button-primary">
11
  <?php echo __( 'Export', 'litespeed-cache' ) ; ?>
5
  $summary = Import::get_summary();
6
  ?>
7
 
8
+ <h3 class="litespeed-title">
9
+ <?php echo __('Export Settings', 'litespeed-cache') ; ?>
10
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#importexport-tab', false, 'litespeed-learn-more' ); ?>
11
+ </h3>
12
 
13
  <div><a href="<?php echo Utility::build_url( Router::ACTION_IMPORT, Import::TYPE_EXPORT ) ; ?>" class="button button-primary">
14
  <?php echo __( 'Export', 'litespeed-cache' ) ; ?>
tpl/toolbox/log_viewer.tpl.php CHANGED
@@ -5,6 +5,7 @@ defined( 'WPINC' ) || exit ;
5
 
6
  <h3 class="litespeed-title">
7
  <?php echo __('Debug Log', 'litespeed-cache'); ?>
 
8
 
9
  <a href="<?php echo Utility::build_url( Router::ACTION_DEBUG2, Debug2::TYPE_CLEAR_LOG ) ; ?>" class="button button-primary" litespeed-accesskey='D'>
10
  <?php echo __( 'Clear Log', 'litespeed-cache' ) ; ?>
5
 
6
  <h3 class="litespeed-title">
7
  <?php echo __('Debug Log', 'litespeed-cache'); ?>
8
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#log-view-tab', false, 'litespeed-learn-more' ); ?>
9
 
10
  <a href="<?php echo Utility::build_url( Router::ACTION_DEBUG2, Debug2::TYPE_CLEAR_LOG ) ; ?>" class="button button-primary" litespeed-accesskey='D'>
11
  <?php echo __( 'Clear Log', 'litespeed-cache' ) ; ?>
tpl/toolbox/purge.tpl.php CHANGED
@@ -37,7 +37,7 @@ $_panels = array(
37
  ),
38
  array(
39
  'title' => __( 'Purge All', 'litespeed-cache' ) . ' - LSCache',
40
- 'desc' => __( 'Purge the litespeed cache entries created by this plugin', 'litespeed-cache' ),
41
  'icon' => 'purge-all',
42
  'append_url' => Purge::TYPE_PURGE_ALL_LSCACHE,
43
  ),
@@ -88,7 +88,7 @@ if ( Placeholder::has_lqip_cache() ) {
88
  if ( Avatar::has_cache() ) {
89
  $_panels[] = array(
90
  'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'Gravatar Cache', 'litespeed-cache' ),
91
- 'desc' => __( 'This will delete all cached gravatar files', 'litespeed-cache' ),
92
  'icon' => 'purge-cssjs',
93
  'append_url' => Purge::TYPE_PURGE_ALL_AVATAR,
94
  ) ;
@@ -97,7 +97,7 @@ if ( Avatar::has_cache() ) {
97
 
98
  $_panels[] = array(
99
  'title' => __( 'Purge All', 'litespeed-cache' ),
100
- 'desc' => __( 'Purge the cache entries created by this plugin', 'litespeed-cache' ),
101
  'icon' => 'purge-all',
102
  'title_cls' => 'litespeed-warning',
103
  'newline' => true,
@@ -122,7 +122,10 @@ if ( ! is_multisite() || is_network_admin() ) {
122
 
123
  <?php include_once LSCWP_DIR . "tpl/inc/check_cache_disabled.php" ; ?>
124
 
125
- <h3 class="litespeed-title"><?php echo __('Purge', 'litespeed-cache'); ?></h3>
 
 
 
126
 
127
  <div class="litespeed-panel-wrapper litespeed-cards-wrapper">
128
 
37
  ),
38
  array(
39
  'title' => __( 'Purge All', 'litespeed-cache' ) . ' - LSCache',
40
+ 'desc' => __( 'Purge the LiteSpeed cache entries created by this plugin', 'litespeed-cache' ),
41
  'icon' => 'purge-all',
42
  'append_url' => Purge::TYPE_PURGE_ALL_LSCACHE,
43
  ),
88
  if ( Avatar::has_cache() ) {
89
  $_panels[] = array(
90
  'title' => __( 'Purge All', 'litespeed-cache' ) . ' - ' . __( 'Gravatar Cache', 'litespeed-cache' ),
91
+ 'desc' => __( 'This will delete all cached Gravatar files', 'litespeed-cache' ),
92
  'icon' => 'purge-cssjs',
93
  'append_url' => Purge::TYPE_PURGE_ALL_AVATAR,
94
  ) ;
97
 
98
  $_panels[] = array(
99
  'title' => __( 'Purge All', 'litespeed-cache' ),
100
+ 'desc' => __( 'Purge the cache entries created by this plugin except for Critical CSS & LQIP caches', 'litespeed-cache' ),
101
  'icon' => 'purge-all',
102
  'title_cls' => 'litespeed-warning',
103
  'newline' => true,
122
 
123
  <?php include_once LSCWP_DIR . "tpl/inc/check_cache_disabled.php" ; ?>
124
 
125
+ <h3 class="litespeed-title">
126
+ <?php echo __('Purge', 'litespeed-cache'); ?>
127
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#purge-tab', false, 'litespeed-learn-more' ); ?>
128
+ </h3>
129
 
130
  <div class="litespeed-panel-wrapper litespeed-cards-wrapper">
131
 
tpl/toolbox/report.tpl.php CHANGED
@@ -37,7 +37,10 @@ $install_link = Utility::build_url( Router::ACTION_ACTIVATION, Activation::TYPE_
37
  </div>
38
  <?php endif; ?>
39
 
40
- <h3 class="litespeed-title"><?php echo __('LiteSpeed Report Number', 'litespeed-cache') ; ?></h3>
 
 
 
41
 
42
  <p><?php echo __('Report number', 'litespeed-cache') ; ?>: <b><?php echo ! empty( $env_ref[ 'num' ] ) ? $env_ref[ 'num' ] : '-' ; ?></b></p>
43
  <p><?php echo __('Report date', 'litespeed-cache') ; ?>: <b><?php echo ! empty( $env_ref[ 'dateline' ] ) ? date( 'm/d/Y H:i:s', $env_ref[ 'dateline' ] ) : '-' ; ?></b></p>
37
  </div>
38
  <?php endif; ?>
39
 
40
+ <h3 class="litespeed-title">
41
+ <?php echo __('LiteSpeed Report', 'litespeed-cache') ; ?>
42
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#report-tab', false, 'litespeed-learn-more' ); ?>
43
+ </h3>
44
 
45
  <p><?php echo __('Report number', 'litespeed-cache') ; ?>: <b><?php echo ! empty( $env_ref[ 'num' ] ) ? $env_ref[ 'num' ] : '-' ; ?></b></p>
46
  <p><?php echo __('Report date', 'litespeed-cache') ; ?>: <b><?php echo ! empty( $env_ref[ 'dateline' ] ) ? date( 'm/d/Y H:i:s', $env_ref[ 'dateline' ] ) : '-' ; ?></b></p>
tpl/toolbox/settings-debug.tpl.php CHANGED
@@ -8,7 +8,7 @@ $this->form_action( $this->_is_network_admin ? Router::ACTION_SAVE_SETTINGS_NETW
8
 
9
  <h3 class="litespeed-title-short">
10
  <?php echo __('Debug Settings', 'litespeed-cache'); ?>
11
- <?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:debug', false, 'litespeed-learn-more' ) ; ?>
12
  </h3>
13
 
14
  <table class="wp-list-table striped litespeed-table"><tbody>
@@ -54,7 +54,7 @@ $this->form_action( $this->_is_network_admin ? Router::ACTION_SAVE_SETTINGS_NETW
54
  <?php $this->_validate_ip( $id ) ; ?>
55
  <br />
56
  <?php $this->learn_more(
57
- 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:information:admin-ip-commands',
58
  __( 'More information about the available commands can be found here.', 'litespeed-cache' )
59
  ) ; ?>
60
  </div>
8
 
9
  <h3 class="litespeed-title-short">
10
  <?php echo __('Debug Settings', 'litespeed-cache'); ?>
11
+ <?php $this->learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#debug-settings-tab', false, 'litespeed-learn-more' ) ; ?>
12
  </h3>
13
 
14
  <table class="wp-list-table striped litespeed-table"><tbody>
54
  <?php $this->_validate_ip( $id ) ; ?>
55
  <br />
56
  <?php $this->learn_more(
57
+ 'https://docs.litespeedtech.com/lscache/lscwp/admin/#admin-ip-commands',
58
  __( 'More information about the available commands can be found here.', 'litespeed-cache' )
59
  ) ; ?>
60
  </div>