4images Modifications / Modifikationen > Tutorials

[TUT] Change of the CAPTCHA-Design

<< < (5/5)

mawenzi:
@ Harald ... danke für die Info ...  8)

bergblume:
Can I use captcha togehter with Browser caching??

I want to use in my htaccess file  this code:


--- Code: ---## EXPIRES CACHING ##

ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"

## EXPIRES CACHING ##

# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
--- End code ---

But when i use it captcha won´t function properly (if I do a comment and move to another pic to comment, that same captcha code appears and will not be accepted). what of the above do I have to delete or to modify in order to have a good working captcha as before?

bergblume:

--- Quote from: bergblume on December 05, 2013, 02:49:04 PM ---Can I use captcha togehter with Browser caching??

I want to use in my htaccess file  this code:


--- Code: ---## EXPIRES CACHING ##

ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"

## EXPIRES CACHING ##

# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
--- End code ---

But when i use it captcha won´t function properly (if I do a comment and move to another pic to comment, that same captcha code appears and will not be accepted). what of the above do I have to delete or to modify in order to have a good working captcha as before?

--- End quote ---

any ideas or suggestions regarding this topic?

Navigation

[0] Message Index

[*] Previous page

Go to full version